write data file

Yermat loic at fejoz.net
Mon Apr 5 03:13:19 EDT 2004


SunX wrote:
> Question from a newbie.  How do you write out a data file of floating
> point numbers? file.write only takes strings.
> Many thanks.

Have a look at struct http://www.python.org/doc/2.3.3/lib/module-struct.html


Yermat




More information about the Python-list mailing list