Installing Packages

What is a package?

A package is a directory that contains modules. Installing a package gives you access to all its code and functions.

What is a library?

A library is often a package organized to be shared.

What is pip?

The pip tool installs Python packages and is included in all current Python versions.

How do you install Python packages?

To install a package with pip, run pip as a module with the package name.