Learning Paths / Learn Python Basics
Learn Python Basics
Master Python fundamentals from variables and data types through functions, OOP, and practical patterns.
Start learning →Getting Started
Collections
- 1
Dictionaries
Key-value mappings for fast lookups, updates, and nested data
- 2
Tuples
Immutable ordered sequences for fixed collections and unpacking
- 3
Sets
Unordered collections of unique elements for membership and set math
- 4
List Comprehension
Concise syntax for building lists from iterables with optional filtering
Control Flow & Functions
Object-Oriented Python
Going Further
- 1
File I/O
Read and write text and binary files with open, paths, and JSON
- 2
Decorators
Wrap functions to add logging, caching, auth, and cross-cutting behavior
- 3
Generators
Lazy iterators with yield for memory-efficient data processing
- 4
Context Managers
Guarantee setup and teardown with the with statement and contextlib