Introduction to Python
CPython execution lifecycle, bytecode compilation (.pyc), GIL overview, and high-performance development setup.
Variables & Data Types
Dynamic reference bindings, memory address pointers (`id()`), garbage collection, type casting, and numeric primitives.
Operators & Precedence
Arithmetic, bitwise masking, short-circuit logical boolean chains, membership containment, and identity pointer testing.
Strings & Text Processing
CPython PEP 393 flexible string storage, stride slicing arithmetic, the O(N²) loop trap, escape codes, and nested f-strings.
Decision-Making Statements
if-elif-else priority dispatch, eliminating the Pyramid of Doom with guard clauses, ternary operators, and banking fraud capstone.
Loops & Iterations
Definite for loops, state-driven while cycles, lazy range() memory generator, break/continue/pass, and geometrical pattern algorithms.
Python Data Structures
Dynamic array mechanics in Lists, immutable fixed memory in Tuples, hash-table algebra in Sets, and high-speed associative Dictionaries.
Functions & Execution Architecture
Call stack frame mechanics, mutable default argument traps, *args/**kwargs variadic dispatch, LEGB lexical scope resolution, recursion, lambdas, and map/filter/reduce pipelines.
Modules and Packages
Modular Python engineering, sys.path import resolution, built-in modules (math, random, datetime, os, sys), package creation with __init__.py, pip, and venv isolation.
File Handling & Data Persistence
Persistent non-volatile storage, file access modes (r, w, a, x), with open() context manager, read/readline/readlines mechanics, and structured CSV and JSON data processing.
Exception Handling & Defensive Systems
Error taxonomy (Syntax, Runtime, Logical), try-except-else-finally pipeline, multiple exception handlers, raise statement validation, and custom user-defined exception classes.
Object-Oriented Programming (OOP)
Classes & instances, __init__ constructor, instance vs class variables, encapsulation, inheritance, method overriding, polymorphism, abstraction (ABCs), and dunder methods (__str__).
Advanced Python Concepts
Comprehensions (list, set, dict), iterator protocol, lazy generators with yield, metaprogramming decorators, regular expressions, shallow vs deep copies, and CPython garbage collection.
Python Libraries & The Applied Ecosystem
NumPy contiguous vector arrays, Pandas DataFrames & Series, Matplotlib publication plots, Requests HTTP REST API client, BeautifulSoup DOM parsing, and Tkinter desktop GUI event loop.
Database Connectivity & CRUD Operations
Relational databases & ACID model, SQL fundamentals (DDL, DML, DQL, TCL), PEP 249 DB-API 2.0, embedded SQLite & client-server MySQL, parameterized SQL injection defense, and atomic transactions.