Newbie: Capture output of compile_dir

Becky Hehn chicken7373 at yahoo.com
Mon Jul 15 11:43:27 EDT 2002


Hello All, 

I want to be able to capture the output of compile_dir
because I want to further process the output of this
command.  It appears that compile_dir prints output to
the screen rather than returning it to the caller. 
How do I capture the output of this command?  If I do
something like:
output=compile_dir(path)
the output of compile_dir gets printed to the screen
and the variable output just hold an integer.

Help!  Thank you very much. 

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com





More information about the Python-list mailing list