Skip to content

Instantly share code, notes, and snippets.

@mw866
Last active August 27, 2025 13:12
Show Gist options
  • Select an option

  • Save mw866/eba27a2f837d2e8f3e3e252ea4b33b70 to your computer and use it in GitHub Desktop.

Select an option

Save mw866/eba27a2f837d2e8f3e3e252ea4b33b70 to your computer and use it in GitHub Desktop.
#python
uv python list
uv init
uv run main.py
uv add requests
# https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments
# Install
python3 -m venv .venv
# Activate
source .venv/bin/activate
# Deactivate
deactivate
# python: virtualenv
mkvirtualenv my_project
workon my_project
lsvirtualenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment