Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Basic python in ArcGIS, need help!

$
0
0
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?
Attached Files

Viewing all articles
Browse latest Browse all 2485

Trending Articles