Jalankan file py di file py lain
os.system('python my_file.py')
Tremendous Enceladus
os.system('python my_file.py')
import myfile
myfile.myfunction
#calls a specific function from within the file
subprocess.call(" python script2.py 1", shell=True)