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
- ✅ Easy syntax – English jaise readable code
- ✅ Cross-platform – Windows, Mac, Linux sab me run hota hai
- ✅ Huge library support – NumPy, Pandas, TensorFlow, Flask, etc.
- ✅ Object-Oriented aur Functional programming dono support karta hai
Python Install Karna
Step 1: Python.org se download karo
Official site: https://www.python.org/downloads/ Apne system ke according version choose karo:
- Windows → Download Python Installer (.exe)
- Mac → Download macOS package (.pkg)
- Linux → Usually pre-installed hota hai (check with
python3 --version)
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 — Lightweight aur powerful (recommended)
- 🐍 PyCharm — Advanced IDE for professional development
- 🧮 Jupyter Notebook — Best for data science aur ML projects
- 💻 IDLE — Python ke sath pre-installed simple editor
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 🎉