Summary: in this tutorial, you’ll learn how to install Python on your computer.
Install Python on Windows
First, download the latest version of Python from the download page.
Second, double-click the installer file to launch the setup wizard.
In the setup window, you need to check the Add Python 3.8 to PATH and click the Install Now to begin the installation.
It’ll take few minutes to complete the setup.
Once the setup completes, you’ll see the following window:
Verify the installation
To verify the installation, you open the Run window and type cmd and press Enter:
In the Command Prompt, type
python command as follows:
If you see the output like the above screenshot, you’ve successfully installed Python on your computer.
To exit the program, you type Ctrl-Z and press Enter.
If you see the following output from the Command Prompt after typing the python command:
Code language: Shell Session (shell)
'python' is not recognized as an internal or external command, operable program or batch file.
It’s likely that you didn’t check the Add Python 3.8 to PATH checkbox when you install Python.