Introduction
Leverage Python in ArcGIS
()
What you should know
()
1. Python for ArcGIS Basics
Scripting overview
()
Python throughout ArcGIS
()
Compose and run scripts in an IDE
()
Write your first script
()
2. Strings, Numbers, and Variables
Use variables to make scripts flexible
()
Work with numeric values
()
3. Syntax Rules
Basic Python syntax rules
()
Comment scripts
()
Reserved words
()
4. Manipulating Strings
Special string characters
()
Additional manipulations
()
String functions
()
Help for string functions
()
5. Object-Oriented Programming
Object-oriented programming (OOP) overview
()
Objects, properties, and methods
()
Incorporating site packages
()
ArcGIS Python module
()
Basics of ArcPy
()
Help for ArcPy
()
6. Using Loops
Use loops to work with lists
()
Use the foreach loop
()
Help for list functions
()
Nested loops
()
Conditional statements
()
7. Generate Log Files
Read and write to a text file
()
Write multiple records to a file
()
8. Input at Run Time
Making scripts dynamic
()
Command-line arguments
()
Capture arguments in a list variable
()
Work with toolboxes in ArcMap
()
Creating a custom toolbox
()
9. Help Documents
Documenting a script
()
Ex_Files_ArcGIS_Python_Scripting.zip
(1.0 MB)