Sorry...

The example i provided was right... It works well...

But this one not...

#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-

num1 = int(raw_input("Informe o número: "))
num2 = int(raw_input("Informe o 2º número: "))

See that im using portuguese with accents, and appers that the accents is the 
problem.

See ya !

Em Sáb 25 Set 2004 04:08, jul escreveu:
> Which version of eric do you use ?
> Your example works fine for me with the last snapshot.
> ++
> Jul.
>
> Douglas Soares de Andrade wrote:
> >Hi !
> >
> >The following code is making eric3 shuts a error message.
> >
> >#!/usr/bin/env python
> ># -*- coding: iso-8859-1 -*-
> >
> >num1 = int(raw_input("Inform the first number: "))
> >num2 = int(raw_input("Inform the second number: "))
> >
> >To execute it, i pressed the F2 key, wich send me to python console. When
> > i insert a num it does the error message.
> >
> >See ya !
>
> _______________________________________________
> PyKDE mailing list    [EMAIL PROTECTED]
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

-- 
[]'s Tenshin
MSN : [EMAIL PROTECTED]
ICQ : 76277921
PAGE: http://tenshin.tk/

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to