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