AnsweredAssumed Answered

Basic python in ArcGIS, need help!

Question asked by jtw010 on Apr 21, 2014
Latest reply on Apr 24, 2017 by rastrauch
Okay, so i had to take this copy of the random_sample.py script and call it
random_percent.py.

Now im being asked to modify the script so that the third parameter
is a percentage of the number of input records as an integer between
1 and 100.

And then modify the script tool settings so that the input for this parameter is validated on the tool dialog box.

I'm still relatively new to python so it all sounds like jargon to me and after trying multiple times to figure it out i still can't find the proper code to use.

I'm using python in ArcMap, and have read the chapter in pyrhon scripting for ArcGIS and am still stumped. How do i do this?

Attachments

Outcomes