How to Install & Set Python on Window

Step 1: Download Python

  1. Open Google Chrome
  2. Type python.org
  3. Click Download Python
  4. Click Download (latest version)

Step 2: Install Python

  1. Open the downloaded file
  2. Tick: Add Python to PATH (IMPORTANT)
  3. Click Install Now
  4. Wait → Click Close

Step 3: Check Python

  1. Press Windows + R
  2. Type cmd → Enter
  3. Type:
  1. python
  1. If you see >>>
    Python is ready

Step 4: Test Python

Type:

print("Hello")

Press Enter

If it prints Hello
Python is working

Step 5: Write a Python File

  1. Open Notepad
  2. Type:
  1. print("My first Python program")
  1. Click Save As
  2. File name: test.py
  3. Save type: All Files

Step 6: Run the File

  1. Open Command Prompt
  2. Go to file location
  3. Type:
  1. python test.py

Done!

Python is now set on your window

 

Categories: python programming

Trending Courses

CodeIgniter

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Advance Digital Marketing Expert Course

Regular : 6 Months

Fastrack : 3 Months

Crash : 2 Months

React JS

Regular : 45 Days

Fastrack : 25 Days

Crash : 15 Days

Laravel

Regular : 45 Days

Fastrack : 20 Days

Crash : 10 Days

Front End Developer

Regular : 6 Months

Fastrack : 4 Months

Crash : 2 Months

Web Expert with Python

Regular : 12 Months

Fastrack : 6 Months

Crash : 3 Months

Request For Demo