Introduction to Modules and Libraries

Learn to use built-in modules to extend Python’s power.

Python is powerful because of its syntax and amazing libraries—prebuilt collections of code that do awesome things, so you don’t have to start from scratch.

In this lesson, we’ll explore how to use these libraries (also called modules) to supercharge your code.

What’s a module?

A module is like a toolbox. We can import it into our code and start using its functions, classes, constants, and more tools.

Let’s use the following:

Get hands-on with 1400+ tech skills courses.