Need your help

1011_wxy 1011_wxy at
Thu Apr 28 07:38:45 CEST 2011

Hi friends:

Here I need some help.

def a():
    print " function a!"

def b():
    print " function b!"

import a
import b
def c():

Here in function c,How can i record all the information printed by a and b with out modifying moudle a and b?
I want to output all the printed information into a text file.

Need your help, thanks a lot!

Best Regards


Kerry Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list