Error with int()

Joerg Woelke lumbricus at
Sat Sep 29 14:35:54 CEST 2001

"Arturo Pérez Mulas" <arturo_perez at> wrote:
> 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

J"o! :-)

For 20 dollars, I'll give you a good fortune next time ...

More information about the Python-list mailing list