use 'with' to redirect stdout

Neal Becker ndbecker2 at gmail.com
Mon Feb 11 09:15:07 EST 2008


Is there a simple way to use a 'with' statement to redirect stdout in a
block?




More information about the Python-list mailing list