Errors should never pass silently ... unless explicitly silenced.

Michele Simionato mis6 at pitt.edu
Fri Feb 7 09:38:21 EST 2003


In Linux I am doing

  sys.stderr=file('/dev/null','w')

Is there a better way of doing that? I would be interested in a portable
way, valid for Windows too.
TIA,

                                 Michele




More information about the Python-list mailing list