run script in another script python code example Example: how to call a python script from another python script Click to copyimport fileB fileB.my_func()