bin folder
The folder, on macOS and Linux, holding a virtual environment's python, pip, activate script and any installed commands; on Windows it is called Scripts.
In more detail
Activation puts this folder first on PATH, which is all that makes python mean the environment's interpreter. Running .venv/bin/python directly uses the environment without activating it.
Related terms
- Scripts folder — The Windows folder beside python.exe, or inside a virtual environment, where pip and installed command-line tools are placed.
- virtual environment — A self-contained folder with its own Python and its own installed packages, so each project's packages stay separate.
- activate script — The script inside a virtual environment that puts it first on PATH for the current shell session.
Taught in
- Installing Python On A Mac — Hands-on Python: Complete Video Course & Book
- Installing Python On Linux — Hands-on Python: Complete Video Course & Book
- Where Python Lives: PATH And Versions — Hands-on Python: Complete Video Course & Book
- Virtual Environments — Hands-on Python: Complete Video Course & Book