Python Overview & Installation

Python Kya Hai?

Python ek high-level, easy-to-learn programming language hai jo readability aur simplicity ke liye famous hai. Ye web development, data analysis, machine learning, aur automation jaise fields me use hoti hai. Python open-source hai — matlab free me download aur use kar sakte ho.

Python Ke Features

Python Install Karna

Step 1: Python.org se download karo

Official site: https://www.python.org/downloads/ Apne system ke according version choose karo:

Step 2: Installation during setup

Installer run karte waqt ye zaroor check karo:
☑ Add Python to PATH Ye option enable karne se Python terminal me kahin se bhi accessible ho jaata hai.

Step 3: Installation verify karna

Command Prompt (Windows) ya Terminal (Mac/Linux) open karke likho:

python --version

Ya kabhi-kabhi:

python3 --version

Agar version number dikhta hai (e.g., Python 3.12.2), to installation successful hai 🎉

Python IDEs (Code likhne ke tools)

IDE ka matlab hai Integrated Development Environment — jahan aap Python code likh, run, aur debug kar sakte ho.

VS Code Install Karna

1️⃣ Download from VSCode website
2️⃣ Install Python extension by Microsoft (it adds syntax highlighting aur debugging support)
3️⃣ Create ek naya file hello.py aur likho:

print("Hello, AIkiPadhai!")

Phir terminal me run karo:

python hello.py

Aapka pehla Python program chal gaya 🎉