Installation on Windows
winget install -e --id Python.Python.3.13 installs Python 3.13 from the official installer and adds it to the PATH. Open a new terminal afterwards so python and pip are recognized.
The py launcher
Windows installs the py launcher, which selects an installed version explicitly: py -3.13 script.py. It is handy when several versions coexist.
Virtual environments
Create one per project: py -m venv .venv then .venv\Scripts\activate. Use the launcher (py) rather than a bare python if you keep multiple versions.