redirect output of functions to a string or file

Fernando Rodríguez frr at mindless.com
Mon Jul 10 15:37:15 EDT 2000


Hi!

    I have several functions that return strings.  The output of these
functions must be combined and saved into a file.

    Is there a way to tell Python to "automagically" redirect the output
of _all_ functions to a string or file? O:-)

TIA
---------------------------------------
Fernando Rodríguez





More information about the Python-list mailing list