View Single Post
Old 07-16-2011, 03:34 AM   #15
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 29,261
Karma: 83706578
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by j.p.s View Post
Would you consider changing all the print statements except the last to use:
sys.stderr.write()
instead of print?

This would be usefull when the output from multiple calls is redirected to a file.
I see what you mean. A good point, but I'm not happy about writing non-errors to the error stream, just to prevent them going to stdout.

I think it's probably best to just move the announcement to the Usage section. I'll do that and upload.
pdurrant is offline   Reply With Quote