ast <n...@gmail.com> wrote: >Hello >I would like to write a huge file of double precision >floats, 8 bytes each, using IEEE754 standard. Since >the file is big, it has to be done in an efficient >way.
>I tried pickle module but unfortunately it writes >12 bytes per float instead of just 8. >Is there a way to write a float with only 8 bytes ? Use struct.pack() -- Dipl.-Inform(FH) Peter Heitzer, peter.heit...@rz.uni-regensburg.de -- https://mail.python.org/mailman/listinfo/python-list