how to make a different python file run code example Example: run py file in another py file os.system('python my_file.py')