how to call one script from another script without any function in python code example Example: how to call a python script from another python script import fileB fileB.my_func()