trekhleb/learn-python resource
📚 Playground and cheatsheet for learning Python. Collection of Python scripts that are split by topics and contain code examples with explanations. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 76
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2926
- days_rel: n/a
- days_push: 149
- n_releases_24m: 0
Adoption not part of the score
18225 stars · 2976 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of Python scripts organized by topic that serve as a playground and cheatsheet for learning Python. Each script contains commented code examples with assertions that illustrate expected outputs, plus links to further reading.
Use cases
- learn python from scratch
- python syntax cheatsheet
- practice python by running examples
- recap python standard library constructs
- learn python basics with runnable examples
- interactive python learning playground
When to choose
- you are a beginner learning Python syntax through runnable examples
- you want a quick reference to recap Python constructs
- you prefer learning by modifying and testing code with assertions
When to avoid
- you need a comprehensive Python reference or official documentation
- you are looking for advanced or production-grade Python patterns
- you want structured courses with exercises and grading
Facets
learning-resource · maturity active
developer-tools education programming-languages python cross-platform cheatsheet playground tutorials python3
1 source
- readme: https://github.com/trekhleb/learn-python · fetched 2026-08-28 · 3927c18522d3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trekhleb/learn-python | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="trekhleb/learn-python")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem