run python file in other file code example
Example 1: run py file in another py file
os.system('python my_file.py')
Example 2: python include another python file
#import all from myfile.py (in same directory)
from myfile import *
os.system('python my_file.py')
#import all from myfile.py (in same directory)
from myfile import *