- Introduction to Python
- What is Python? Features & uses
- Python installation & IDE setup (VS Code, PyCharm, Jupyter, Anaconda)
- Running Python programs (script mode vs interactive mode)
- First program: print("Hello, World!")
- Python Basics
- Variables & Data Types (int, float, str, bool)
- Input/Output functions (print(), input())
- Comments & indentation
- Type conversion & type() function
- Operators
- Arithmetic operators (+, -, *, /, //, %, **)
- Comparison operators (==, !=, <, >, <=, >=)
- Logical operators (and, or, not)
- Assignment operators (+=, -=, etc.)
- Identity operators (is, is not)
- Membership operators (in, not in)
- Control Flow
- if, elif, else statements
- Nested conditions
- for and while loops
- break, continue, pass
- Data Structures
- Strings → indexing, slicing, methods
- Lists → create, access, update, iterate, list methods
- Tuples → immutable collections
- Sets → unique values, set operations (union, intersection)
- Dictionaries → key-value pairs, methods
- Functions
- Defining & calling functions
- Function arguments (positional, keyword, default, variable-length *args, **kwargs)
- Return values
- Lambda (anonymous functions)
- Scope (local vs global variables)
- Modules & Packages
- Importing built-in modules (math, random, datetime, os)
- Creating your own modules
- Installing external libraries with pip
- File Handling
- Opening & closing files
- Reading & writing (read(), write(), with open)
- Working with CSV and JSON files
- Exception Handling
- try, except blocks
- finally, else in exceptions
- Raising exceptions (raise)
- Custom exceptions
- Object-Oriented Programming (OOP)
- Classes & objects
- Constructors (__init__)
- Instance & class variables
- Methods (instance, class, static)
- Inheritance (single, multiple, multilevel)
- Method overriding
- Encapsulation & Abstraction
- Polymorphism
- Special methods (__str__, __len__, etc.)
- Advanced Python Concepts
- Iterators & Generators (iter(), next(), yield)
- Decorators (function decorators, @staticmethod, @classmethod)
- Regular Expressions (re module)
- Working with APIs
- Sending HTTP requests with requests
- JSON handling
- Database Connectivity
- Installation
- Basic CRUD Operations (create, read, insert, update, delete)
- MySQL with connectors
- Python for Automation
- Automating tasks (file renaming, web scraping with BeautifulSoup)
- Sending emails with Python (smtplib)
- Working with Excel (openpyxl, pandas)
- Python for Data Science
- NumPy → arrays, vectorized operations
- Pandas → DataFrames, Series, CSV/Excel handling
- Python for Data Visualization
- Installing Matplotlib (pip install matplotlib)
- Basic Plots: Line chart, Bar chart, Pie chart
- Statistical Plots: Histogram, Scatter plot, Box plot