Bruno Desthuilliers <[EMAIL PROTECTED]> writes: > STDOUT is for *normal* program outputs. Debug informations, > warnings, and all verbosity should go to STDERR.
Actually, stderr is for errors, by convention. It's rather impolite to dump trivial debug info to stderr, which often "alerts" the user more than stdout. > Also and FWIW, Python has a logging module in it's stdlib. Please > use it instead of any half-backed squared-wheel homegrown solution. Unfortunately these square-wheeled homegrown solutions are easier to grok than the standard logging module. It seems to target more "serious" applications at the cost of feeling a bit too clunky for quick hack jobs. -- http://mail.python.org/mailman/listinfo/python-list