- To check that the launcher is installed, simply type py on the Windows Command Prompt. If installed, the latest version of Python is launched.
- If not installed, you will receive the following error:
'py' is not recognized as an internal or external command, operable program or batch file.
- Assuming different versions of Python are installed, to use a different version simply indicate it via a - option:
py -2.6 # Launches Python version 2.6 py -2 # Launches the latest version of Python 2
- If using a Python virtual environment and the Python launcher is executed without specifying a Python version explicitly, the launcher will use the virtual environment's interpreter rather than the system one. To use the system interpreter, ...