Error with int()

Arturo Pérez Mulas arturo_perez at
Sat Sep 29 13:50:34 CEST 2001


I am running python 2.1.1 under Windows XP BETA, and get the following

>>> int('a')
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
ValueError: invalid literal for int(): a

Help anyone? Thank you

More information about the Python-list mailing list