from the interactive prompt:
>>> import sys
>>> sys.stdout.write('is the')
is the6
what is '6' doing there?
another example:
>>> for i in range(3):
... sys.stderr.write('new black')
...
9
9
9
new blacknew blacknew black
where are the numbers coming from?