execute scripts from another python code example
Example 1: run py file in another py file
os.system('python my_file.py')
Example 2: how to call a python script from another python script
import fileB
fileB.my_func()
os.system('python my_file.py')
import fileB
fileB.my_func()