From the course: Learning ArcGIS Python Scripting (2018)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Incorporating site packages

Incorporating site packages - ArcGIS Tutorial

From the course: Learning ArcGIS Python Scripting (2018)

Start my 1-month free trial

Incorporating site packages

- [Instructor] The Python scripting language includes some built-in objects and methods. And the language is enhanced by adding modules also called site packages or libraries. Modules give us additional classes of objects plus specialized functionality, like the ability to interact with the Windows operating system, connect to a database, or access ArcMap. Some of the modules most commonly used by GIS professionals include ArcPy, which gets you to the ArcGIS world, string, math, and datetime, which give you access to special methods for manipulating strings, numbers, and dates, and os and sys which give you access to the operating system commands, like sys dot get windows version and os dot walk which walks recursively through a folder structure. There are many others. When you have time just do a web search for Python modules to get an idea how many are out there. The first thing to do in order to get to the functionality in a module is to import that module into the script. That's…

Contents