On 2006-08-08, godavemon <[EMAIL PROTECTED]> wrote:
> You guys are awesome! I had to set the 'b' flag when writing the
> binaries.
>
> file_obj = open('filename.bin', 'wb')
>
> instead of just using 'w'
>
> It worked fine for all of the other 10 binary files I made,
> but had a small error with on
You guys are awesome! I had to set the 'b' flag when writing the
binaries.
file_obj = open('filename.bin', 'wb')
instead of just using 'w'
It worked fine for all of the other 10 binary files I made, but had a
small error with one of them. In that one file's case it wrote out an
extra 4 bytes i
On 2006-08-08, godavemon <[EMAIL PROTECTED]> wrote:
> I'm using python's struct and binascii modules to write some values
> from my parser to binary floats. This works great for all of my binary
> files except one. For some reason this file is saving to 836 (stated
> by my command shell) bytes i
godavemon wrote:
> I'm using python's struct and binascii modules to write some values
> from my parser to binary floats. This works great for all of my binary
> files except one. For some reason this file is saving to 836 (stated
> by my command shell) bytes instead of 832 like it should. It so
I'm using python's struct and binascii modules to write some values
from my parser to binary floats. This works great for all of my binary
files except one. For some reason this file is saving to 836 (stated
by my command shell) bytes instead of 832 like it should. It sounds
like an issue with w