How convert string '1e7' to an integer?
Mick Krippendorf
mad.mick at gmx.de
Sat Nov 7 20:42:21 EST 2009
Peng Yu wrote:
> It seems that int() does not convert '1e7'.
It seems it does, though:
>>> int('1e7', base=16)
487
Mick.
More information about the Python-list
mailing list