Message6451
From interactive mode:
>>> import sys
>>> sys.stdout.write("Hello.")
>>> sys.stderr.write("Hello.")
Hello.>>>
The first write should print 'Hello.' to console, but prints nothing.
I also noticed it looks like the print command is printing to stderr, not to stdout (at least it looks like this from another program I have with colored output). |
|
Date |
User |
Action |
Args |
2011-03-23 20:33:59 | jasonsmith | set | recipients:
+ jasonsmith |
2011-03-23 20:33:59 | jasonsmith | set | messageid: <1300912439.42.0.721502843124.issue1723@psf.upfronthosting.co.za> |
2011-03-23 20:33:59 | jasonsmith | link | issue1723 messages |
2011-03-23 20:33:59 | jasonsmith | create | |
|