From the course: Learning ArcGIS Python Scripting

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Incorporating Python libraries in a script

Incorporating Python libraries in a script - ArcGIS Pro Tutorial

From the course: Learning ArcGIS Python Scripting

Incorporating Python libraries in a script

- [Instructor] One of the things that makes Python so powerful is that, being an open source language, developers all over the world have written libraries that provide special classes, functions, and other capabilities to people who are scripting with the language. They're kind of like expansion packs for Python, to use a term from card games, or extensions to Python, to use a term we're familiar with in ArcGIS. The concept of Python libraries was briefly introduced earlier in this course. Let's look at them in a little more detail. Libraries, also called packages, are usually geared toward one particular data type or software or even an industry. For example, there's a sys module that makes it possible to access your operating system files and their properties, and there's a PyHealth library for use in healthcare applications. There are some Python packages that get installed with ArcGIS Pro that are not specifically GIS related, but are still commonly used. For example, there's a…

Contents