🛠️pip
Also known as Python package installer, pip install
The main tool for adding Python packages to a project. It gets them from PyPI.
Think of it like
Think of it like a van that brings parts. You name the part, and it drops it at your door.
Example
Emma needs to call a web API from Python. She runs pip install requests, and five packages arrive in a few seconds.
Why it matters
Definition
Example code
console
$ pip install requests
Successfully installed certifi-2026.10.23 charset_normalizer-3.5.2 idna-3.20 requests-2.34.2 urllib3-2.8.0Common mistake
Key takeaways
- 1Comes with Python. No separate install needed.
- 2Reads from PyPI. The shared shelf of Python packages.
- 3One per project. Keep each project's packages apart.