External Libraries
External libraries are written by the Python community — they don’t come built into Python, so you need to install them first.
Installing with pip
pip is Python’s package manager. Run this in your terminal to install a library:
pip install library-nameFor example:
pip install pillowOnce installed, you import it just like a standard library.
You only need to install a library once. After that, you can import it in any project on your computer.
Last updated on