This repository contains my personal notes, code snippets, exercises, and reflections while going through the Python Tutorial from the official documentation:
https://docs.python.org/3/tutorial/index.html
- To consolidate my learning as I go through the official Python tutorial.
- To have a reference of key concepts, examples, and pitfalls in one place.
- To track progress (which sections I’ve completed) and revisit topics later.
- To practice writing clear code and explanations for my own understanding.
- The
*.md
files correspond roughly to chapters or sections of the tutorial. - The
code_samples/
folder holds runnable Python code examples I used to test or illustrate concepts. - As I progress, I update or add more files.
- Browse through the markdown files to read explanations and summaries.
- Run code examples in
code_samples/
to experiment or test them yourself. - If you find mistakes or want to improve explanations, feel free to suggest edits (if this is a shared repo) or update your local copy.
- Use this as a revision tool when revisiting Python later.
- Since this is primarily for my personal learning, I may not accept external contributions. But if you clone it:
- You can fork and add your own notes, corrections, or alternative explanations.
- If you find errors or places I was unclear, you’re welcome to open issues or pull requests.
- Always keep code examples working on a recent version of Python (I use Python 3.13.7)
- The official Python Tutorial (version 3.13) the primary source I follow: https://docs.python.org/3/tutorial/index.html
- Python documentation (standard library, language reference) as needed.
- My notes are under a simple permissive license (MIT), meaning you’re free to read, copy, modify, or use them as you like.
- The original Python tutorial is under the Python Software Foundation License v2, with example code licensed under the Zero Clause BSD License. Python documentation Any direct quotes or code snippets retained from the official tutorial are attributed accordingly.