A self-contained Python learning portfolio organized into notes, exercises, quizzes, and projects. The material covers core Python — from first installation through control flow, functions, data structures, file I/O, and modules — browsable here on GitHub, and published as a polished site at ijk37.com/python-fundamentals.
Tip
Finished here? Continue with the companion Data Analytics with Python course — NumPy, Matplotlib, and Pandas.
| Section | What's inside |
|---|---|
| 📘 Notes | 37 topic lessons across 8 chapters, each linking to its matching exercise |
| ✏️ Exercises | Focused practice sets that mirror the notes, with solutions and alternatives |
| 🧪 Quiz Hub | Interactive multiple-choice quizzes for every chapter, plus 5 cumulative mixed quizzes |
| 🛠️ Projects | 23 hands-on projects, each with commented main.py and its own README |
| 📦 Resources | Original lecture material the course was built from |
python-fundamentals/
├── 01-notes/ — Topic notes (Markdown), one file per concept
├── 02-exercises/ — Practice exercises with solutions, mirroring notes order
├── 03-quiz/ — Static interactive quiz app (HTML + JS, no server)
├── 04-projects/ — 23 standalone mini-projects applying multiple concepts
└── 05-resources/ — Original lecture slides (kept local)
Each notes file links to its matching exercise file at the bottom; each exercise file links back to its notes file at the top.
| # | Chapter | Focus |
|---|---|---|
| 01 | Setup & Environment | What Python is, IDEs, installing Python & venv, running code in VS Code |
| 02 | Core Language | Syntax, variables, I/O, operators, numbers, strings, booleans, type conversion |
| 03 | Control Flow | if/elif/else, for and while loops, break/continue |
| 04 | Functions | def, parameters, *args/**kwargs, docstrings, scope, lambda |
| 05 | Data Structures | Lists, tuples, sets, dictionaries, slicing, zip/enumerate |
| 06 | Comprehensions & Exceptions | List/set/dict comprehensions, try/except/finally, custom exceptions |
| 07 | File I/O | Text, CSV, JSON, Excel, PDF, and pathlib filesystem work |
| 08 | Modules & Packages | import, the standard library, package structure, the main() pattern |
- Read a notes file in
01-notes/for theory and reference code. - Open the matching exercise in
02-exercises/— attempt each question before revealing the solution. - Test yourself in the Quiz Hub — a fresh random set each attempt, re-drawn on retry.
- Build a project in
04-projects/to apply several concepts at once.
This repository is published with Material for MkDocs and deployed to GitHub Pages at ijk37.com/python-fundamentals. The same Markdown files render both on GitHub and on the site. See assets/site_design.md for how the dual repo-and-site setup works.
Built with 💙💛 — Python blue
#306998and yellow#FFD43B.