- Python installation, running scripts, using IDLE / VS Code
- Comments (
# single,''' multi-line ''') - Input / Output (
input(),print()) - Variables and constants
- Data types:
int,float,str,bool,complex - Type conversion (
int(),float(),str()) - Operators: arithmetic, comparison, logical, assignment, identity, membership
- Conditional statements:
if,elif,else - Loops:
whileandfor - Control statements:
break,continue,pass
-
String manipulation, slicing, methods (
replace,split,join) -
List: indexing, slicing, methods (
append,remove,sort,copy) -
Tuple: immutable sequences
-
Set: unique elements, operations (
union,intersection) -
Dictionary: key-value pairs, methods (
keys(),values(),items()) -
Comprehensions:
- List comprehension
- Dict comprehension
- Set comprehension
- Defining functions with
def - Return values & scope (
local,global) - Default, positional & keyword arguments
*argsand**kwargs- Lambda functions (anonymous functions)
- Built-in functions:
map,filter,reduce,zip,enumerate - Recursion (calling a function inside itself)
- Creating and importing your own modules
- Built-in modules:
math,datetime,os,random,sys - Installing external packages using
pip - The
__name__ == "__main__"concept
- Open, read, write, append files (
open(),withstatement`) - Working with text and CSV files
- Exception handling in file I/O
try,except,else,finallyblocks- Handling multiple exceptions
- Custom exceptions (
raise ValueError("message"))
- Classes and objects
__init__constructor- Instance vs. class variables
- Methods vs. static methods
- Inheritance and
super() - Polymorphism (same method, different behavior)
- Encapsulation (
_protected,__private) - Abstraction using
abcmodule - Dunder (Magic) Methods like
__str__,__len__,__add__
- Decorators — add behavior to functions
- Iterators (
__iter__,__next__) - Generators (
yield) - Closures — inner functions that remember state
- Higher-Order Functions — functions taking functions as arguments
namedtupledequeCounterdefaultdictOrderedDict
import re- Functions:
match,search,findall,sub,split - Meta characters:
. ^ $ * + ? {} [] | ()
(Very useful for analytics interviews)
- CSV handling (
csvmodule,pandas.read_csv) - JSON (
jsonmodule) - Excel Files (with
openpyxl,pandas) - SQLite / MySQL (using
sqlite3ormysql.connector)
- Itertools (combinations, permutations, product)
- Functools (
lru_cache,reduce,partial) - Datetime manipulations
- Logging module
- OS and sys module (file paths, environment variables)
- NumPy – arrays, broadcasting, vectorized operations
- Pandas – DataFrame operations, filtering, grouping, merging
- Matplotlib / Seaborn – plotting graphs
- Statistics – mean, median, std, correlation
- Shallow vs. Deep Copy (
copymodule) - Mutable vs. Immutable types
- Virtual environments (
venv) - Multithreading & Multiprocessing (basics)
- Python Memory Model & Garbage Collection
- Unit Testing with
unittestorpytest - Docstrings and type hints (
typingmodule) - Code readability (PEP 8)
- Git + GitHub integration
For analytics or interview demo:
- File data summarizer (read CSV → analyze → write output)
- SQL + Pandas dashboard
- API fetch → data cleaning → visualization
- Simple Flask web app
| Level | Category | Key Topics |
|---|---|---|
| 🟢 Beginner | Basics | Syntax, Variables, Loops, Conditions |
| 🟡 Intermediate | Data Structures | Lists, Dicts, Sets, Functions |
| 🟠 Advanced | OOP, Decorators | Classes, Inheritance, Generators |
| 🔵 Expert | Data, OOP, Modules | Pandas, Regex, Exception Handling |
| 🟣 Job-ready | Projects | Analytics, APIs, Automation |
Would you like me to convert this into a 30-Day Python Interview Challenge (Markdown version) —
📅 daily schedule + topics + interview Q&A + mini project — so you can upload it as DAY_1.md, DAY_2.md, etc.?
That would make your GitHub repo look like a complete learning journal + portfolio project.