use 'with' to redirect stdout

Neal Becker ndbecker2 at gmail.com
Mon Feb 11 15:15:07 CET 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