caputering IO in python

Curtis Jensen cjensen at bioeng.ucsd.edu
Wed Aug 16 20:35:30 EDT 2000


I have a module that writes to standard out.  I would like to redirect
that output to a python string, without modifing the module.  Is there a
way I can call a module's function and trick it into writting to a
string instead of standard out?  Thanks.

-- 
Curtis Jensen
cjensen at bioeng.ucsd.edu
http://www-bioeng.ucsd.edu/~cjensen/
FAX (425) 740-1451



More information about the Python-list mailing list