How to write string (float) to file?

Andrew Dalke dalke at dalkescientific.com
Tue Aug 28 21:24:01 CEST 2001


Rainer Deyke wrote:
>Consider the
>case where 'a' is a long integer that cannot be fully
>represented in a Python float.

Consider the case where 'a' is a float so 100*f
raises an OverflowError.  Just as (un)likely as your case,
esp. when the originator of this thread only had
"some simple calculations."

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list