■ Python Syllabus
Beginner se Advanced tak — Complete Learning Guide
1. Basics (Buniyadi Cheezein)
• Python kya hai, installation, IDE setup (VS Code, PyCharm)
• Variables aur Data Types: int, float, str, bool
• Input/Output: print() aur input()
• Operators: arithmetic, comparison, logical, assignment
2. Control Flow (Flow Control)
• if, elif, else statements
• for loop aur while loop
• break, continue, pass keywords
• Nested loops aur conditions
3. Data Structures
• List — ordered, mutable collection
• Tuple — ordered, immutable collection
• Dictionary — key-value pairs
• Set — unique elements ka collection
4. Functions (Kaam ke Tarike)
• Function define karna: def keyword
• Arguments, default values
• *args aur **kwargs
• Lambda (anonymous) functions
• Scope: local aur global variables
5. Object-Oriented Programming (OOP)
• Classes aur Objects banana
• __init__ method aur self
• Inheritance (Viraasat)
• Polymorphism aur Method Overriding
• Encapsulation aur Abstraction
6. File Handling
• File kholna aur banana: open(), read(), write()
• with statement ka istemal
• CSV files ke saath kaam karna
• JSON files parse karna
7. Modules & Libraries
• import aur from...import
• Standard library: os, sys, math, datetime, random
• pip se libraries install karna
• Virtual environments (venv)
8. Error Handling (Galtiyon ko Sambhalna)
• try, except, else, finally blocks
• Common exceptions: ValueError, TypeError, etc.
• Custom exceptions banana
• Debugging techniques
9. Advanced Topics
• List Comprehensions aur Generator Expressions
• Generators aur Iterators
• Decorators
• Regular Expressions (re module)
• Multithreading basics
10. Popular Libraries (Domain ke Hisaab se)
Domain Libraries
Data Science NumPy, Pandas, Matplotlib, Seaborn
Web Development Flask, Django, FastAPI
AI / Machine Learning Scikit-learn, TensorFlow, PyTorch
Automation / Scraping Selenium, BeautifulSoup, Requests
Game Development Pygame
■ Recommended Learning Order
Level Topics Duration
■ Beginner Topics 1 – 4 (Basics, Control Flow, Data Structures, Functions) 4–6 weeks
■ Intermediate Topics 5 – 8 (OOP, File Handling, Modules, Error Handling) 4–6 weeks
■ Advanced Topics 9 – 10 (Advanced Topics + Libraries) 6–8 weeks