import subprocess
subprocess.call(" python script2.py 1", shell=True)
os.system('python my_file.py')
exec(open('path/to/file').read())
import os
os.system('python my_file1.py')
os.system('python my_file2.py')
import myfile
myfile.myfunction
#calls a specific function from within the file
subprocess.call(" python script2.py 1", shell=True)
exec(open('address of file to run').read())
Python main.py