How to convert string to float in Python 1.2
Erik Max Francis
max at alcyone.com
Sat Jan 18 21:03:34 EST 2003
Erik Max Francis wrote:
> There's a string.atof, but you're better off using the float
> type/function anyway.
Oops, sorry, missed the context of the original question, which was
using Python 1.2, which predates float as a separate function (and
certain as a type).
What he wants is probably string.atof (I don't have a Python 1.2 system
to test with).
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Mona Lisa / Come to discover / I am your daughter
\__/ Lamya
7 Sisters Productions / http://www.7sisters.com/
Web design for the future.
More information about the Python-list
mailing list