Introduction
This post is a walkthrough for those who want to begin coding in Python and probably do not know how to install the software in order to get started on coding with it.
Step1: Downloading Python
Navigate to the official Python download page in your preferred browser here and it may look similar to the one shown below.
Click on the download button to download the latest version of Python (Python 3.10 in this post) otherwise you can scroll down to check other specific versions that you prefer. The download process should start and give it some moments to complete.
Once the download is complete, the installer file should appear as shown below. Ensure to download Python that corresponds to your machine whether it is 32-bit or 64-bit and for details on that refer here
Step2: Installing Python
Double click the installer to run and at this point ensure that the logged in user has administrative rights (running and installing Python may require this). The setup wizard should appear as shown below. Ensure the 'Add to PATH' checkbox is checked as shown in the screenshot below.
Click 'Install Now' to proceed with the installation process which shall be indicated with a green progress bar as shown below. Give it some moments to complete installing.
Once the installation is complete, an installation success wizard page appears as shown below otherwise if there is an installation error a different message will appear.
To close the installation wizard, click Close button. To confirm that Python has been installed to Windows PATH, open the Windows Command Prompt (CMD) by clicking on the Start button and typing 'cmd' text as shown below.
Step3: Running Python
Click on the 'Command Prompt' option and a black window should show up as below which is the Windows Command Prompt that is similar to the Linux Terminal
Type 'python' in the Command Prompt and click Enter key on the keyboard and the Python shell should appear as shown below indicating that Python has been installed and added to Windows PATH.
To exit the Python shell, type 'exit' command and click Enter key on the keyboard. Now, Python has been installed successfully in Windows.
HAPPY CODING!!!
Top comments (2)
Great Article Joseph!
Thanks.