call one python script from another script and make it run code example Example: how to call a python script from another python script import fileB fileB.my_func()