AnsweredAssumed Answered

User Input Code for ArcGIS 10.1 Python Window

Question asked by Shiko on Jun 26, 2013
Latest reply on Jun 26, 2013 by SWalbridge-esristaff
I'm trying to write script in the Python Window that will allow a user to input a value for a defined object.
However, I keep getting this error message.
Any suggestions?


>>> input ('Enter the object weight' )
Enter the object weightRuntime error
Traceback (most recent call last):
  File "<string>", line 1, in <module>
EOFError: EOF when reading a line
>>>

I also tried the following script

>>> eval(raw_input("Enter your weight: "))
Enter your weight: Runtime error
Traceback (most recent call last):
  File "<string>", line 1, in <module>
EOFError: EOF when reading a line
>>>

Outcomes