Skip to content

Add python-mixins-course sample code#796

Merged
acsany merged 1 commit into
masterfrom
add-python-mixins-course
Jul 15, 2026
Merged

Add python-mixins-course sample code#796
acsany merged 1 commit into
masterfrom
add-python-mixins-course

Conversation

@acsany

@acsany acsany commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

What

Adds python-mixins-course/ — the sample code from the Understanding Mixin Classes in Python video course.

Why

The course's supporting code currently ships only as a members-only protected download. We want to offer it as a free email opt-in so the YouTube/free audience can get the exact code the video references (the existing python-mixins/ folder is the written tutorial's code, which differs from the course's). Paired with CMS opt-in mixin-classes-course-code.

Notes

  • Flattened from the course zip's materials/ folder; the six scripts are self-contained (only from abc import ...).
  • ruff format + ruff check clean at the repo's line-length = 79; dircheck.py passes (folder name + README.md).

Publishes the code from the 'Understanding Mixin Classes in Python'
video course (https://realpython.com/courses/understanding-mixin-classes-in-python/)
so it can be offered as a free email opt-in download to the YouTube/free
audience. The members-only course zip is otherwise paywalled.

Files are ruff-formatted (line-length 79, trailing newlines) to pass the
linters check.
@acsany acsany merged commit 9d69c03 into master Jul 15, 2026
1 check passed
@acsany acsany deleted the add-python-mixins-course branch July 15, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant