Error with int()

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


Hello,

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

>>> 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