[PythonCE] Strange error

Brad Clements bkc@murkworks.com
Wed, 12 Jun 2002 17:33:03 -0400


On 12 Jun 2002 at 14:02, x x wrote:

> x = int (raw_input ("enter an integer: "))
> 
> I get: 
> 
> enter an integer: Traceback (most recent call last):
> File "\Program Files\Python\lib\pcceshell.py", line 457,
>   exec codeOb in locals
> EOFError: EOF when reading a line
> 
> 
>  If I run the same line in python on my NT4 box it's no problem.
> Anyone who can clue me in?

You're running it in console mode on NT.

Pocket PC doesn't have a console, so it doesn't work.  Use win32gui to create a 
dialog..


Brad Clements,                bkc@murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
AOL-IM: BKClements