In this video, Jennifer Harrison explains how to find help on Python modules, including ArcPy. Learn how to navigate the ArcMap help system to find object names, their properties, and their methods.
- [Instructor] In order to get good at using the ArcPy module,…it's necessary to get familiar with the help system.…It'll be your best friend as you learn to write scripts…to interact with GIS maps and data.…There's a help system in idle and also…a help system in ArcMap.…To get help on any of the modules, load it…into the interactive window.…You use the help function.…You first have to import the module.…So for example, if I want help on this sys module…I could say import sys and I type help…and put sys in the parentheses.…
If you scroll way to the top, you can see it's…quite a detailed help system.…This help shows a list of all the objects,…properties and methods that are available…through the sys module.…At the top there is a url link where you can get all of the…help documentation for this particular module.…To get help on any of the objects, you have to type…help and in parentheses you put the object name but you have…to preface it with the module that it comes from.…
So I can type help and in parentheses put sys dot argv…
- 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.