writing to a binary file without intervening spaces
Larry
larry.cebuala at gmail.com
Tue Mar 18 01:25:28 EDT 2008
Thanks to all those who responded to this query.
It seems to me that Python always add intervening spaces between data
elements when writing to a file. Even with tostring() of numpy, array
elements get separated by space character. I like the output of
sys.stdout.write(file) to be writen as is to a binary file, but how?
I'll try your suggestions.
Good luck, especially to me! :)
More information about the Python-list
mailing list