# Step 1: Download Python
1. Open a web browser and go to the Python official website: https:
2. Scroll down to find the latest stable release of Python.
3. Click on the "Download" button for the Windows installer corresponding to your system architecture (32-bit or 64-bit).
# Step 2: Run the installer
4. Locate the downloaded installer file and double-click on it to run it.
5. In the installer window, check the box that says "Add Python to PATH" and then click on the "Install Now" button.
- Optional: If you want to customize the installation, click on the "Customize installation" button instead.
# Step 3: Verify the installation
6. Open the Command Prompt:
- Press the Windows key, type "cmd", and press Enter.
- Alternatively, press Windows key + R, type "cmd", and press Enter.
7. In the Command Prompt, type "python --version" (without quotes) and press Enter.
- If Python is installed correctly, it will display the version number.
# Step 4: Start using Python
8. In the Command Prompt, you can now directly run Python scripts or enter the Python interactive mode by typing "python" and pressing Enter.
- For example, type "python" to start the Python interpreter, and you will see the Python prompt (">>>") indicating that you can execute Python code.
Congratulations, you have successfully installed Python on Windows using cmd!