py launcher

A small Windows program, run as py, that finds and starts an installed Python, optionally a specific version.

In more detail

py runs the newest Python installed, py -3.13 picks a version, and py --list shows them all. Because it lives in the always-searched Windows folder, py usually works even when PATH is wrong, which makes it a handy check. It exists only on Windows; macOS and Linux use python3.

Examples

py --list
py -3.14 hello.py

Related terms

Taught in

References