From the course: Learning ArcGIS Python Scripting
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Where to write your scripts: ArcGIS Notebooks - ArcGIS Pro Tutorial
From the course: Learning ArcGIS Python Scripting
Where to write your scripts: ArcGIS Notebooks
- [Instructor] Ready to write that first script? Let's take a deeper look at notebooks in ArcGIS before we get into the Python syntax. You can try this with me if you want. I've got a project open and I'm going to create a new notebook. At first glance, an IDE looks a lot like a text editor, like Notepad, but an IDE is a lot more. First, it understands the scripting language you're writing in, so it can color code keywords, like import or print. It can also color code functions and even text strings. And sometimes it can even give you some assistance like with code completion. That's where you start typing, for example, arcpy.mp, and the IDE completes the rest of the phrase for you. If I hit a tab on my keyboard, it shows me a list of all of the methods of the MP module, and then I can just choose from the dropdown list. Notebooks have a place to write code in these cells, a method to run the code, and a place where you can see the results of the run in this area between the cells…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.