


Python was named after the BBC TV show Monty Python's Flying Circus. (However, Van Rossum stepped down as leader on July 12, 2018. Van Rossum is Python's principal author, and his continuing central role in deciding the direction of Python is reflected in the title given to him by the Python community, Benevolent Dictator for Life (BDFL). The programming language Python was conceived in the late 1980s, and its implementation was started in December 1989 by Guido van Rossum at CWI in the Netherlands as a successor to ABC capable of exception handling and interfacing with the Amoeba operating system. For example, if you just wanted the latest Python3, then use 3, for a particular Python3, use 3.8, or for the 32-bit version, use 3.8-32, etc.Main article: Python (programming language)

The version strings above used to launch a particular version of python are what can be put into the PY_PYTHON environment variable. X-64 : Launch the latest 64bit Python X version X.Y-64: Launch the specified 64bit Python version X-32 : Launch the latest 32bit Python X version X.Y-32: Launch the specified 32bit Python version The above all default to 64 bit if a matching 64 bit python is present. X.Y : Launch the specified Python version 3 : Launch the latest Python 3.x version 2 : Launch the latest Python 2.x version Python Launcher for Windows Version 3.8.150.1013Ĭ:\WINDOWS\py.exe script You can get a list of basic py commands using py -help: $ py -help Note: After updating environment variables, you will need to restart some programs, and others might require either a logout or full reboot (was true of VS Code on Windows).

The documentation on the Python Launcher is pretty complete, but to answer my original question, I had set the environment variable PY_PYTHON to 3.7 to declare the default Python version for py to use. It is called the "Python Launcher for Windows" in the official Python documentation. The py command is an executable included with Windows Python distributions starting with Python v3.3. After searching for a while, I stumbled into the answer for the py update part, at least.
