In this video, Jennifer Harrison demonstrates some uses of Python in ArcGIS. Explore some of the ways Python can augment Esri software and tools.
- [Instructor] Python is an object-oriented…programming language.…An object-oriented programming language…is a language that can access objects in a software.…In ArcGIS, for example, feature classes and map documents…are both objects.…It's an open-source language…that was developed to be quick to learn,…easy to code, and easy to read.…Open-source means that the source code…was shared with the public…so anyone can add functionality to Python.…
It's not an Esri product.…The Python compiler is free…and it's used all around the world,…both in and out of the GIS realm.…The language has been around since the early 1990s.…GIS professionals use Python in ArcGIS all the time,…even if they're not writing scripts.…Python can be used in the field calculator,…in label expressions,…in the Python window,…and in ArcToolbox as a script tool.…
I have this map open to show some of the places…that Python is used in ArcMap.…Python is used in the field calculator.…The 2018 estimated population is a calculated field…that assumes a 10% growth in population since the year 2000.…
- Writing and running Python scripts in IDLE
- Making scripts flexible with variables
- Commenting scripts
- Manipulating string data
- Object-oriented programming in Python
- Creating loops
- Reading and writing text files
- Capturing input at runtime
- Documenting your scripts
Skill Level Beginner
1. Python for ArcGIS Basics
2. Strings, Numbers, and Variables
Work with numeric values5m 22s
3. Syntax Rules
4. Manipulating Strings
5. Object-Oriented Programming
6. Using Loops
7. Generate Log Files
8. Input at Run Time
9. Help Documents
Documenting a script1m 59s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.