Personal learning notes, examples, and exercises for Python.
This repository combines:
- notebook-based study materials
- practical code snippets for standard library and third-party packages
- selected assignments from the Coursera course "Diving in Python"
- small experiments and utilities
uv syncThis creates and manages a project environment from pyproject.toml.
Run tools with uv run:
uv run jupyter lab
# or
uv run jupyter notebookYou can use either Jupyter Notebook or JupyterLab:
uv run jupyter notebook
# or
uv run jupyter labdocs/: repository navigation and learning-path docsnotes/tutorial/: core Python notes from basics to advanced topics (functions, classes, generators, regex, testing, performance, serialization, concurrency)notes/packages/: package-focused examples (numpy,matplotlib,sqlalchemy,logging,itertools, and more)notes/tips_and_tricks/: concise practical examples and experimentsnotes/frameworks/: framework-related notes (for example, Django notebook)exercises/coursera/: solutions and materials from Coursera Python coursesexercises/books/python-workout/: chapter-based Python Workout exercisesexercises/testing/learning-pytest/: chapter-based pytest learning projectexamples/async-and-io/learning-asyncio/: async programming and networking examplesexamples/databases/learning-sqlalchemy/: SQLAlchemy querying and ORM examplesexamples/assets/: supporting scripts, fixtures, and tests for smaller exercisesexamples/packagesample/: a minimal Python package layout exampletooling/: development environment notes (virtual environments, VS Code, docs)
- Start with
notes/tutorial/00_intro.ipynband follow files in order. - Explore
notes/packages/when you need targeted package examples. - Use
notes/tips_and_tricks/for quick practical patterns. - Check
exercises/coursera/for assignment-style practice. - Practice book-style tasks in
exercises/books/python-workout/. - Practice testing-focused tasks in
exercises/testing/learning-pytest/. - Explore async examples in
examples/async-and-io/learning-asyncio/. - Explore SQLAlchemy examples in
examples/databases/learning-sqlalchemy/.
Open the command palette and run:
Python: Start REPL
Then inspect built-in docs, for example:
>>> help(str)
>>> help(str.upper)If you use uv, you can also start IPython with:
uv run ipython- Guido van Rossum: The Early Years of Python
- Guido van Rossum: The Modern Era of Python
- Guido van Rossum: BDFL Python 3 retrospective
Copyright (C) 2019-2026 Andrey Krisanov.
Licensed under the MIT License. See LICENSE for details.