Message77288
Doesn't work.
#!/usr/bin/env python3.0
import sys
foo = b''
for i in range (0,10):
foo += bytes(i)
sys.stdout.buffer.write(foo)
produces a binary file of 45 bytes. Here is a hex dump (the '.'
represent unprintable characters):
+000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
+016 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
+032 00 00 00 00 00 00 00 00 00 00 00 00 00 .............
that is 45 bytes of 0. |
|
Date |
User |
Action |
Args |
2008-12-08 04:45:26 | lopgok | set | recipients:
+ lopgok, benjamin.peterson |
2008-12-08 04:45:26 | lopgok | set | messageid: <1228711526.13.0.559912660442.issue4588@psf.upfronthosting.co.za> |
2008-12-08 04:45:25 | lopgok | link | issue4588 messages |
2008-12-08 04:45:24 | lopgok | create | |
|