justgis

User created selection

Discussion created by justgis on Nov 27, 2010
Latest reply on Nov 28, 2010 by justgis
I want the user to create a selection from a shapefile and then I have some code that will run on the selected features.
How do I write "user input" into my python code? I've looked everywhere on line and can't seem to find anything about how to do this in arcpy.
Previously I would have wrote something like:

selectPoints = input("Please select the points you need for this process using the select tool.")

And that's all I have. I can't seem to get past this point

Thanks for any help you can provide!

Outcomes