Hands-on Python curriculum for expert Java developers. Each lesson lives in one folder: demos, basics.py index, and practice/ exercises.
lesson_02/
basics.py # list / run all demos: --list
01_collections.py
02_slicing.py
practice/
01_collections.py # stubs (pass) + tests — fill in and run until checks pass
git clone https://github.com/qgambit2/python-for-java-devs-curriculum.git
cd python-for-java-devs-curriculum
uv sync
uv run python lesson_00/03_verify_environment.py
uv run python lesson_02/01_collections.pyuv run python 00_curriculum.py
uv run python lesson_02/basics.py --listChapter prose (preview edition) lives in book/content/.
See docs/java-equivalents.md for side-by-side Java ↔ Python tables.
uv run python lesson_02/practice/01_collections.pyEach practice file ships with pass stubs and _check() tests. Replace stubs one exercise at a time until you see checkmarks.
- Python 3.12+ (see
.python-version) - uv package manager