Module 1: Introduction to Python
- What is Python?
- Features and benefits of Python
- Installing Python and IDE setup (IDLE, VS Code, PyCharm)
- Writing and running your first Python program
- Python syntax and indentation rules
- Understanding comments and docstrings
Module 2: Python Basics
- Variables, Constants, and Data Types
- Type conversion and casting
- Input and Output functions
- Operators (Arithmetic, Comparison, Logical, Assignment, Bitwise)
- Expressions and Statements
Module 3: Control Flow
- Conditional statements (if, if-else, elif)
- Loops (for, while)
- break, continue, and pass statements
- Nested loops and conditional statements
Module 4: Data Structures in Python
- Strings: indexing, slicing, methods, string formatting
- Lists: creation, indexing, slicing, methods, list comprehensions
- Tuples: properties, operations, unpacking
- Sets: creation, methods, set operations
- Dictionaries: key-value pairs, methods, looping through dictionaries
Module 5: Functions
- Defining and calling functions
- Function arguments and return values
- Default, keyword, and variable-length arguments
- Lambda (anonymous) functions
- Recursion in Python
Module 6: Modules and Packages
- Importing modules (math, random, datetime, etc.)
- Creating and using custom modules
- Python Package Index (PyPI) and using pip
- Organizing code into packages
Module 7: File Handling
- Working with text files (open, read, write, close)
- Reading and writing CSV files
- Handling file paths
- Exception handling during file operations
Module 8: Exception Handling
- Understanding runtime errors
- try, except, else, finally blocks
- Raising exceptions
- Custom exceptions
Module 9: Object-Oriented Programming (OOP)
- Introduction to classes and objects
- __init__ method and constructors
- Instance and class variables
- Inheritance and polymorphism
- Method overriding
- Encapsulation and abstraction
Module 10: Advanced Concepts
- Iterators and Generators
- Decorators
- Comprehensions (List, Dict, Set)
- Working with Virtual Environments
Module 11: Working with Libraries
- Overview of important libraries:
- NumPy (basic operations, arrays)
- Pandas (data manipulation)
- Matplotlib (basic plotting)
Module 12: Project Work
- Mini projects combining all learned concepts, such as:
- File organizer app
- Student management system
- Simple calculator or expense tracker