[PythonCE] input And raw_input
Telion
telionce@yahoo.com
Wed, 2 Oct 2002 10:26:35 -0700 (PDT)
goodey27@juno.com wrote:
(2002/10/02 12:56)
>
>I'm a Newbie to Python.
>1) I was trying to use the input function...
>
>x = int(raw_input("enter your age. "))
>
>and this is how the display looks after pressing ENTER
>
>enter your age. Traceback (most recent call last):
> File "\Program Files\Python\lib\pcceshell.py", line 457, in Interact
> exec codeOb in locals
>EOFError: EOF when reading a line
>
>
>2) Cant get this string to work on CE
>ordinal is not in range(128)
>I've tried using encoding don't remember exactly what but what I tried
>didn't work.
>
>Any help would be greatly appreciated.
>
>Isr
>
Please tell us about following points:
What kind of machine are you using?
Is it CE2.11 or CE3.0?
HPC or PPC,PsPC?
What is the CPU, ARM, MIPS, or SHx?
Which version of Python you are running, 1.52, 2.2, other?
Where did you downloaded from?
Also, did you set 'encoding' in site.py?
=====
Telion
- telionce@yahoo.com -
http://pages.ccapcable.com
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com