Hi everybody,
I'm sure there's a way to do this, but I can't find it. How can I execute
another .py file from my first .py file without using an exec* command?
They're both in the same directory, and it would be nice to have some
run("another.py ") type statement as opposed to a big exec with absolute
pathnames and garbage like that.
It works the way I have it, but it just seems like a bad way in general to
do it. I'm runnning Python 2.3.3 on win32.
Thanks!
CaptainN
I'm sure there's a way to do this, but I can't find it. How can I execute
another .py file from my first .py file without using an exec* command?
They're both in the same directory, and it would be nice to have some
run("another.py ") type statement as opposed to a big exec with absolute
pathnames and garbage like that.
It works the way I have it, but it just seems like a bad way in general to
do it. I'm runnning Python 2.3.3 on win32.
Thanks!
CaptainN
Comment