How do I run a .py file from another python file....
I want a program depending upon the option you choose to run a different python program...
Ho do i do this...
I have tried:
import os
if os.path.isfile('file.py'):
exec(open('file.py').read)
and it requires everything to be global....
only when the call line is the only thing in the file does it work perfectly...