how to run a python scrip from another python script code example Example: how to call a python script from another python script import fileB fileB.my_func()