Installing Python on Windows is easy and takes just a few minutes. Follow this guide to install the latest version of Python on your system.


Step 1: Download Python Installer

  1. Go to the official Python website
    ๐Ÿ”— https://www.python.org/downloads/windows/
  2. Download the latest version
    • Click the “Download Python 3.x.x” button.
    • This will download an .exe (installer) file.

Step 2: Run the Installer

  1. Locate the downloaded file (e.g., python-3.x.x.exe) and double-click to open.
  2. Check the box that says “Add Python to PATH” (Important!).
  3. Click “Customize installation” (Optional: if you want additional features) or “Install Now”.
  4. The installation will begin. Wait a few minutes.

Step 3: Verify Installation

  1. Open Command Prompt (CMD):
    • Press Win + R, type cmd, and hit Enter.
  2. Check Python version:
    • Type:
      python --version
      
    • Output should be something like:
      Python 3.x.x
      
  3. Check Pip (Python package manager):
    • Type:
      pip --version
      
    • Output should be:
      pip 23.x.x from C:\Python...
      

Step 4: Running Python

  • Open Command Prompt (CMD) and type:
    python
    
  • You should see a Python interactive shell (>>>), where you can type Python commands.
  • Try this:
    print("Hello, World!")
    
  • To exit, type:
    exit()
    

Step 5: Installing Additional Packages (Optional)

To install libraries like NumPy, Pandas, etc., use pip:

pip install numpy pandas matplotlib

๐ŸŽฏ You’re Done! Python is Successfully Installed on Windows ๐ŸŽ‰

Would you like help setting up an IDE like VS Code or PyCharm? ๐Ÿ˜Š


Leave a Reply

Your email address will not be published. Required fields are marked *