Back
Python Roadmap - Beginner
Follow this step-by-step roadmap to master
python
at Beginner level
1
Introduction
1 week
▹
What is Python? History & Features
▹
Install Python (Windows, Mac, Linux)
▹
Hello World Program
▹
Python Interpreter & REPL
▹
Basic Syntax & Indentation Rules
▹
Comments in Python (Single-line, Multi-line)
▹
Running Python Scripts (.py files)
▹
Using Jupyter Notebook / IDE setup
2
Data Types & Variables
2 weeks
▹
Numbers & Math Operations
▹
Strings & String Methods (len, slice, join, split)
▹
Booleans (True, False, comparison results)
▹
Lists (creation, indexing, slicing, methods)
▹
Tuples (immutability, packing & unpacking)
▹
Sets (unique values, set operations)
▹
Dictionaries (key-value pairs, methods)
▹
Type Conversion (int, float, str, list)
▹
Variables & Constants (naming conventions, PEP8)
▹
f-Strings & String Formatting
3
Operators & Expressions
1 week
▹
Arithmetic Operators (+, -, *, /, %, **, //)
▹
Comparison Operators (==, !=, >, <, >=, <=)
▹
Logical Operators (and, or, not)
▹
Bitwise Operators (&, |, ^, ~, <<, >>)
▹
Assignment Operators (=, +=, -=, etc.)
▹
Membership Operators (in, not in)
▹
Identity Operators (is, is not)
▹
Operator Precedence & Associativity
4
Control Flow
2 weeks
▹
If-Else Statements
▹
Nested Conditions
▹
For Loops (range, iterables)
▹
While Loops
▹
Loop Control (break, continue, pass)
▹
List Comprehensions
▹
Ternary Operator (inline if else)
▹
Practical Mini-Projects (guessing game, calculator)
5
Functions
2 weeks
▹
Defining Functions with def
▹
Arguments & Return Values
▹
Default & Keyword Arguments
▹
Variable-Length Arguments (*args, **kwargs)
▹
Lambda Functions
▹
Scope & Global Variables
▹
Docstrings & Annotations
▹
Recursion Basics
6
Basic Data Handling
1 week
▹
Input & Output Functions
▹
Reading User Input (input())
▹
Printing with Formatting (sep, end, format)
▹
Basic Error Handling (try-except)
▹
Mini-Project: Simple Text-based Calculator
GeekDost - Roadmaps & Snippets for Developers