Python Install aur IDLE me Run Kaise Karein

Intro

Agar aap first time coding start kar rahe ho, to sabse pehla step simple hai: Python install karna.
Phir hum IDLE kholkar ek chhota sa test run karenge, taaki confirm ho jaye sab sahi chal raha hai.

Concept Explanation

WHY (Pehle “kyun”)

Python me program likhne se pehle Python ka computer me install hona zaroori hai.
Install ke saath ek beginner-friendly tool aata hai jiska naam IDLE hai. IDLE me aap code likhkar turant test kar sakte ho.

HOW (Ab “kaise”) — Windows step-by-step

Step 1: Apna Windows 32-bit ya 64-bit check karo

  • Start par click karo, “Computer” par right-click, “Properties” (ya “System”) me jao. Wahaan 32-bit/64-bit likha hota hai.

Step 2: Python download karo (Windows ke liye)

  • Browser me jao: https://www.python.org/downloads
  • Latest Python 3 select karo.
  • Apne system ke hisaab se installer choose karo:
    • 32-bit: “Windows x86 executable installer”
    • 64-bit: “Windows x86-64 executable installer”

Step 3: Installer run karo

  • Download ke baad setup file par double-click karo. Installer jo instructions de, follow karte jao.
  • Installation directory ka naam note kar lena (useful hota hai).
  • Agar option mile “Add python.exe to Path”, isko enable kar dena. Isse future me Command Prompt se Python access easy hota hai.

Step 4: IDLE open karo (Python run karne ke liye)

  • Installation ke baad Start Menu me Python 3 entry aa jati hai.
  • Start Menu → Python 3 folder → IDLE open karo.
  • IDLE open hote hi aapko >>> prompt dikhega. Ye signal hai ki ab aap code type kar sakte ho.

Example

Ab IDLE ke >>> par ek simple line run karke test karte hain.

print("Hello")

Try It Yourself

IDLE open karo aur ek apna message print karo.

print("Python ready hai")

Summary (2 lines)

Windows par Python 3 install karne ke baad, Start Menu se IDLE open karke aap turant code test kar sakte ho.
>>> prompt par print() run karna installation test karne ka simplest way hai.

Next Preview (1 line only)

Next lesson me hum print() ko properly samjhenge aur apna pehla chhota program likhenge.

Leave a Comment

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

Scroll to Top