Writing an integer to a file?!?
gabriel_ambuehl at buz.ch
Tue Nov 7 20:32:42 CET 2000
Tuesday, November 07, 2000, 8:07:39 PM, you wrote:
> If you _really_ want to write binary data rather than a string
> (generally a bad idea), then you need to use the 'struct'
> module to convert the int to a "string" containing binary data.
> [Insert standard warnings about byte ordering, etc.]
Couldn't cause any problems here. That timestamp is only intended to
be used on the very same machine running the very same OS.
More information about the Python-list