Playground: Let's play!

DYI - Python/uv

LLM

Why did Harry Potter fail his Python programming class?

Because he couldn't find the __init__ cloak! ⚡🐍

Essential Commands

  • uv init: Creates a new project structure and configuration files.
  • uv add <package>: Adds dependencies to your project.
  • uv run <script>: Executes a script within the automatically managed virtual environment.
  • uv sync: Synchronizes project dependencies from the lockfile.
  • uv python install <version>: Downloads and installs a specific Python version.