Chapter 1: Introduction to Python
What is Python? Features of Python. Installation & Setup.
First Program: print('Hello, World!')
Applications: Web Development, AI, Data Science, Automation, etc.
Chapter 2: Python Basics
Identifiers, Keywords, Variables, Data Types.
Input & Output functions.
Type casting: int(), float(), str().
Chapter 3: Operators
Arithmetic, Relational, Logical, Assignment, Bitwise, Identity, Membership operators.
Operator precedence and associativity.
Chapter 4: Conditional Statements
if, if-else, if-elif-else.
Nested conditions and shorthand if.
Chapter 5: Loops in Python
for loop, while loop, nested loops.
break, continue, pass statements.
Chapter 6: Strings & Lists
String methods: upper(), lower(), strip(), split().
List operations: append(), insert(), remove(), slicing.
Chapter 7: Functions
Built-in vs User-defined functions.
Arguments: positional, keyword, default, variable-length.
Recursion, Lambda functions.
Chapter 8: File Handling
open(), read(), write(), append().
with statement, file pointer methods (seek, tell).
Programs: count words, copy files, count vowels.
Chapter 9: Object-Oriented Programming
Class & Object, __init__ constructor.
Methods, Inheritance, Polymorphism, Encapsulation.
Chapter 10: Modules & Packages
import, from-import, as keyword.
math, random, datetime modules.
Creating custom modules.
Chapter 11: Exception Handling
try, except, else, finally.
Common exceptions (ZeroDivisionError, ValueError).
raise keyword, custom exceptions.
Chapter 12: Advanced Python Concepts
Iterators (__iter__, __next__).
Generators (yield, generator expressions).
Decorators (@decorator syntax).
Chapter 13: Data Science with Python
NumPy: arrays, operations, functions.
Pandas: Series, DataFrame, operations.
Matplotlib: line, bar, pie charts.
Chapter 14: Database Connectivity
mysql-connector library, connect(), cursor().
CREATE, INSERT, SELECT, UPDATE, DELETE queries.
Closing connection.
Chapter 15: Python Projects & Applications
Student Report Card, Contact Book, Bank System.
Library Management with MySQL.
Data Visualization of Marks.