"Allen Fowler" <[EMAIL PROTECTED]> wrote > 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...
Historically there have been lots of methods introduced howeever the most recent and officially correct way is now tyo use the subprocess module. There are examples on the web pages to show what you want. Or read the Using the OS topic in my tutorial for the basics. HTH, -- Alan Gauld Author of the Learn to Program web site Temorarily at: http://uk.geocities.com/[EMAIL PROTECTED]/ Normally: http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor