[Tutor] calling an external program
Bernard Lebel
python at bernardlebel.com
Mon Feb 14 06:20:40 CET 2005
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
More information about the Tutor
mailing list