Python Syllabus
1. Introduction to Python
- What is Python? Features & Applications
- Installing Python & Setting up Environment
- Running Python Programs (Interactive Mode vs. Script Mode)
- Python IDEs (VS Code, PyCharm, Jupyter Notebook)
2. Python Basics
- Python Syntax & Code Structure
- Variables and Data Types (int, float, string, bool)
- Type Conversion & Type Casting
- Basic Input/Output (print(), input())
- Comments in Python
3. Operators in Python
- Arithmetic Operators (+, -, *, /, %, **, //)
- Comparison Operators (==, !=, >, <, >=, <=)
- Logical Operators (and, or, not)
- Bitwise Operators (&, |, ^, ~, <<, >>)
- Assignment Operators
- Membership Operators (in, not in)
- Identity Operators (is, is not)
4. Control Flow Statements
- Conditional Statements (if, elif, else)
- Loops in Python:
- for loop
- while loop
- break, continue, pass
- Iterating over sequences (lists, tuples, strings, dictionaries)
5. Functions & Modules
- Defining Functions (def)
- Arguments & Return Values
- Function Scope (Global & Local Variables)
- Lambda (Anonymous) Functions
- Built-in Functions (map, filter, zip, etc.)
- Importing Modules (import, from ... import)
- Creating & Using Custom Modules
6. Data Structures in Python
- Lists (Operations, Slicing, Comprehensions)
- Tuples (Operations & Immutability)
- Sets (Union, Intersection, Difference)
- Dictionaries (Key-Value Pairs, Methods)
7. File Handling
- Reading & Writing Files (open(), read(), write())
- File Modes (r, w, a, r+)
- Working with CSV Files (csv module)
- JSON Handling (json module)
8. Object-Oriented Programming (OOP)
- Introduction to OOP
- Creating Classes and Objects
- Class Constructors (__init__)
- Instance & Class Variables
- Encapsulation, Inheritance, Polymorphism
- Method Overriding & Magic Methods (__str__, __len__)
9. Exception Handling
- Errors vs. Exceptions
- try, except, finally, raise
- Custom Exceptions
10. Python Libraries & Frameworks
- NumPy (Arrays, Matrix Operations)
- Pandas (DataFrames, Data Handling)
- Matplotlib & Seaborn (Data Visualization)
- Scikit-learn (Machine Learning Basics)
- Flask/Django (Web Development)
- Tkinter (GUI Development)