Redirecting the output from sys.stdout

Pieter Claerhout PClaerhout at CREO.BE
Tue Apr 11 05:41:13 EDT 2000


Hello,

I want to run a DOS command from Python, and I want to redirect the output of
that command to a variable. Anyone a suggestion on how to accomplish this? The
output of the command should not be shown on the screen.

Kind regards,


Pieter

[ Pieter Claerhout :: CreoScitex Response Centre :: Applications support ]
[ Pieter_Claerhout at creoscitex.com    ::    http://www.creoscitex.com/ ]
[ CreoScitex Europe  ::   Excelsiorlaan 21   ::  1930 Zaventem  ::   Belgium ]





More information about the Python-list mailing list