I have a simple Python script that accepts a Y/N response from the user before proceeding:
When I run it in PyScripter or Idle it's functioning as expected. I'd like to import it into a toolbox and have the user run it From ArcCatalog.
When I do that I'm getting the following error:
Traceback (most recent call last):
File "\\nq-cluster1\Share-APPL\GISAppl\Data Distribution Updates\DistributeAgData\ExtractAgData3_1.py", line 37, in <module>
includeapps = raw_input("Include Ag Applicants? (Y or N):")
EOFError: EOF when reading a line
Failed to execute (Script).
Failed at Mon Feb 22 15:11:30 2021 (Elapsed Time: 0.16 seconds)
What do I need to do to configure ArcCatalog to show the input prompt to accept Y/N?