Step-by-step guide for Windows Users
Last updated
Was this helpful?
Last updated
Was this helpful?
To start programming in Python, the first thing you need to do is install Python on your Windows computer. Follow the steps below to install Python and set it up properly.
Open your web browser and go to the official Python website: .
On the homepage, click on the Downloads tab.
The website will detect your operating system and offer the latest version of Python for Windows. Click the Download Python (version number) button.
Once the installer is downloaded, open it by double-clicking the file (it will likely be in your "Downloads" folder).
Important: Before clicking "Install Now," check the box that says Add Python to PATH at the bottom of the installer window. This will make it easier to run Python from the command line later.
Click Install Now to start the installation process.
The installer will now copy all the necessary files to your computer. This may take a few minutes.
Once the installation is complete, you’ll see a screen that says Setup was successful.
Click Close to exit the installer.
To make sure Python was installed correctly, open the Command Prompt. You can do this by searching for "cmd" in the Start menu.
In the Command Prompt, type the following command and press Enter:
If Python was installed successfully, you’ll see the installed version of Python displayed, like Python 3.10.0
.
pip is automatically installed with Python, but it’s good to confirm it’s available:
In the Command Prompt, type the following command and press Enter:
With Python and pip installed, you’re now ready to start programming! In the next sections, we’ll cover setting up a development environment using Visual Studio Code.
Some content generated with AI
If pip is installed, you’ll see a version number like pip 21.2.4
. If not, follow the instructions on the to install it.