📅 30-Day Python Zero-to-Hero Plan
Week 1 – Python Basics (Days 1–7)
Goal: Understand syntax, variables, data types, and basic operations.
Day 1: Introduction & Setup
Install Python + VS Code (or PyCharm, Jupyter Notebook)
Your first program: print("Hello, World!")
Comments, indentation, and running scripts
Day 2: Variables & Data Types
int, float, str, bool
type() function
Basic input with input()
String formatting (f-strings)
Day 3: Operators & Expressions
Arithmetic, comparison, logical, assignment
Order of operations (PEMDAS)
Day 4: Strings
Indexing, slicing, methods (.lower(), .upper(), .replace(), .split())
String concatenation & repetition
Day 5: Lists & Tuples
Creating, indexing, slicing
List methods (append(), remove(), sort())
Tuples and immutability
Day 6: Dictionaries & Sets
Key-value pairs, accessing/updating values
Set basics & operations (union, intersection)
Day 7: Practice & Mini Project
Mini project: Simple calculator
Practice: HackerRank/Easy LeetCode problems
Week 2 – Control Flow & Functions (Days 8–14)
Goal: Learn decision-making, loops, and reusable code.
Day 8: If-Else Statements
if, elif, else
Nested conditions
Day 9: Loops
for loops with range()
while loops
Loop control: break, continue
Day 10: Functions
def keyword, parameters, return values
Default & keyword arguments
Day 11: Scope & Recursion
Local vs global variables
Simple recursion example (factorial, Fibonacci)
Day 12: Error Handling
try, except, finally
Common exceptions (ValueError, ZeroDivisionError)
Day 13: Practice
5–7 problems (pattern printing, sum of digits, palindrome check)
Day 14: Mini Project
Guess the Number game
Week 3 – Intermediate Python (Days 15–21)
Goal: Learn file handling, modules, and OOP basics.
Day 15: File Handling
open(), read, write, append
with statement
Day 16: Modules & Libraries
import basics
Using math, datetime, random
Installing external libraries with pip
Day 17: List Comprehensions & Lambda
One-line loops
Anonymous functions
Day 18: Object-Oriented Programming Basics
Classes & objects
Attributes & methods
Day 19: OOP Advanced
Constructors (__init__)
Inheritance & polymorphism
Day 20: Practice Problems
OOP + file handling challenges
Day 21: Mini Project
Contact Book app (store in a file)
Week 4 – Real-World Python (Days 22–30)
Goal: Learn useful libraries, problem-solving, and build projects.
Day 22: Working with JSON & APIs
json module
Fetching API data with requests
Day 23: Data Analysis Basics
Install & use pandas
Reading CSV files
Basic data filtering
Day 24: Web Scraping
Install beautifulsoup4
Scrape a simple website
Day 25: Automation with Python
Automating file renaming, sending emails (with smtplib)
Day 26: Tkinter GUI Basics
Creating windows, labels, buttons
Day 27: Mini Project – Weather App (API + Tkinter)
Day 28: Algorithm Practice
Sorting, searching
5 easy–medium LeetCode problems
Day 29: Final Project
Choose one:
Expense tracker
Quiz game with GUI
Basic blog scraper
Day 30: Review & Next Steps
Revise concepts
Push projects to GitHub
Plan advanced topics (Django, Flask, ML, etc.)
💡 Tips to Succeed
Spend 1–2 hours/day (concepts + practice)
Always write code instead of just reading
Start using GitHub from week 2
Challenge yourself with mini projects weekly