Useful Commands and Shortcuts
Useful Commands and Shortcuts
Section titled “Useful Commands and Shortcuts”This page is intentionally compact. It is a quick-reference page for common Python workflow commands.
Environment Setup
Section titled “Environment Setup”python -m venv .venv.venv\Scripts\Activate.ps1source .venv/bin/activatePackage Management
Section titled “Package Management”python -m pip install requestspython -m pip listpython -m pip freeze > requirements.txtRunning Code
Section titled “Running Code”python script.pypython -m pytestQuality Tools
Section titled “Quality Tools”python -m black .python -m ruff check .