A comprehensive, sectioned repository to learn and review core Python fundamentals.
Each section lives in its own folder with a dedicated README.md
, minimal theory, runnable examples, and small exercises you can try immediately.
-
Navigate to a section folder (e.g.,
07-conditional-logic
). -
Read the
README.md
for concise explanations and examples. -
Run the example scripts:
python example.py
-
Attempt the exercises in
exercises/
and compare withexercises/solutions/
. -
Progress sequentially or jump to topics you need.
- 01 Getting Started
- 02 Variables & Data Types
- 03 Strings
- 04 Numbers & Math
- 05 Collections: Lists & Tuples
- 06 Dictionaries & Sets
- 07 Conditional Logic
- 08 Loops & Iteration
- 09 Functions
- 10 Modules & Packages
- 11 Exceptions & Errors
- 12 File I/O
- 13 Comprehensions
- 14 Iterators & Generators
- 15 Decorators & Context Managers
- 16 OOP Basics
- 17 OOP Advanced
- 18 Testing & Debugging
- 19 Virtual Environments & Dependencies
- 20 CLI with argparse
- 21 Date & Time
- 22 Regular Expressions
- 23 JSON & CSV
- 24 Networking & APIs
- 25 Concurrency: Threads, Processes, asyncio
- 26 Typing & Docstrings
- 27 Best Practices & Style
- 28 Project Structure
- 29 Notebook & Data Basics (Optional)
- 30 Practice Projects