Check if Python Is Installed in Windows | Delft Stack
www.delftstack.com › check-if-python-is-installedSep 15, 2021 · Check if Python Is Installed in Windows Using the py Command. When we execute the py command in the Windows Command Prompt, it first displays the details of the latest version installed on the computer and then runs/starts the installed version. If we need to check if some version of Python, i.e., Python 2 or 3, is installed, we can do so using the following command. For Python 2.x, py -2 For Python 3.7, py -3.7