How to run another .py file w/o exec command?
CaptainN at altel.net
CaptainN at altel.net
Sun Mar 28 08:55:28 EST 2004
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
More information about the Python-list
mailing list