Database Reference
In-Depth Information
2. If you can't find it on the Start menu, you can access it by typing
c:\Python27\ArcGIS10.2\Pythonw.exe
"c:\Python27\ArcGIS10.2\Lib\idlelib\idle.pyw" in the run
command. This is assuming you have ArcGIS 10.2 installed.
3. From the Python Shell window, point the cursor to File and then click on New
Window so that we can start working.
We are going to write a simple script that accepts two integers, sums them, and
prints the answer. I'm going to assume that you know some basic programming
concepts such as variables and functions for this exercise. In the following ex-
ample, we are going to build the script in small pieces, and then, when we're fin-
ished, we'll save and run the script.
Search WWH ::




Custom Search