1

I am writing a python script to automate some ArcMaps data processing. I am getting hung up at raw_input(). I am using raw_input to get input from a user. A folder will be created with the folder name based on the user input.

I don't understand why this isn't working. I've viewed tutorials, read the manual, etc... and I still can't figure out why I am getting this error for raw_input().

I've managed to be able to get user to select files and directories suing the Tkinter toolkit should I look into using this toolkit to get text from a user prompt as well?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jun 12, 2014 at 17:52
0

1 Answer 1

2

raw_input does not work in the Python window in ArcMap, plain and simple. Since the application is not a command line app there is no sys.stdin to read from.

I would recommend you instead write a geoprocessing script tool and use the dialog it provides for user input. Please refer to this prior question for more information.

answered Jun 12, 2014 at 18:21

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.