The os module is the answer. Use chdir() to make the target executable's directory the current directory, and then os.system( 'command' ) to run the actual command.


Cheers Bernard


Lobster wrote:
- I am trying to call up an external program
with something like a "Shell" command - can not find a way of doing this
(in windows)

Any hints?

Ed Jason

_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Reply via email to