In this video, Jennifer Harrison introduces IDLE, the default tool for writing scripts in ArcGIS. Get familiar with the Shell and the Script windows in IDLE.
- [Instructor] Use an IDE to compose and run scripts.…An IDE is an integrated development environment.…It's a software for writing executing and debugging code.…An IDE looks a lot like a text editor…but it's different because it understands…a programming language and gives you some help…in writing the code.…There are many IDEs for writing Python scripts.…Some of them include PyCharm, PythonWin,…IDLE and many others.…
You can pick whichever one you like…when you start coding your own scripts.…Some people choose a particular IDE…because their company standardizes on that IDE.…IDLE, Pythons integrated development…and learning environment is distributed with ArcGIS.…And therefore it is the default for writing scripts…in ArcGIS world.…It's an open source software it can…be downloaded for free, but again, it's included…with ArcMap, it's installed automatically with ArcMap.…
You find it in all apps under the ArcGIS group.…IDLE has a shell window, this one,…that can interpret Python commands…and return results to the user.…
- 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.