[Tutor] Correct way to call an outside program?

Allen Fowler allen.fowler at yahoo.com
Thu Mar 13 04:06:00 CET 2008


I need to call an external command line .exe utility from my Python script.

What is the best way to capture the output (if any) and (optionally) direct it to my normal standard output?

There seem to be many options...

Thank you,

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

More information about the Tutor mailing list