carme.caum

Why Runtime error EOF when reading a line with INPUT function

Discussion created by carme.caum on Jan 17, 2012
Latest reply on Jan 18, 2012 by carme.caum
Hi everybody,

I need to program a function that asks to the user for the values of some of its parameters.
I simply wrote and execute the Python prompt from ArcGIS 10:

x= input("Enter the number of rows")

I get:
Runtime error <type 'exceptions.EOFError'>: EOF when reading a line


It is really strange because it works correctly in Python 2.6 that has been installed with ArcGIS 10.

Any ideas?

Thanks in advance!


Carme

Outcomes