Favorites
b/mercurytutsbyyoyoloit

Python Data Model: Magic Methods in Python Classes

This post was published 4 years ago. Download links are most likely obsolete. If that's the case, try asking the uploader to re-upload.

Python Data Model

h264, yuv420p, 1280x720 | ENGLISH, aac, 48000 Hz, 2 channels, s16 | 12h 44 mn | 14.76 GB
Instructor: ITPro TV, Justin Dennison

Magic Methods in Python Classes

What you'll learn

Use the double underscore or "magic" methods to shape the behavior of custom classes.
Overload operators in Python.
Create custom iterables using classes.
Create custom context manager classes.

Requirements

Familiarity with classes and object-oriented programming.
Python programming experience.

Description

Python Data Model

Python has a set of protocols that the language internally adhere to which provides the functionality for features such as iteration, context manager behavior, string representation of an object, and many other things. When you create custom classes in Python and make use of these protocols then you can create custom behavior in the context of iterations, types, comparison of objects, operator overloading, and much more. Knowing about these will help level up your Python skills. If you are ready to progress forward in your Python prowess, then join us to learn more about the Python data model.

Course Format

• Binge-worthy TV shows! Watch comprehensive, in-depth episodes that use a talk show-like format to keep you engaged while learning.

• You can pick and choose episodes or you can watch as a complete series.

• A little humor, anecdotes, and real-world examples.

Other Courses

Ready to a DevPro? Get more DevProTV training with a variety of topics. Join Justin and DevProTV to level up your programming prowess!

Updates and Versions

The programming world updates at a break neck pace. As a result, there are times that certain tools, editors, libraries have changed. While syntax or names may change, the foundations remain the same. Though we hope to keep things updated, there may be time before that can occur. I recommend seeing if you can translate between changes and if all fails, ask questions!
Who this course is for:

Intermediate Python programmers looking to develop more of an understanding of Python's "magic" methods.
Beginner Python programmers looking to level up their game.

Screenshots

Python Data Model

Homepage

All comments

    Load more replies

    Join the conversation!

    Log in or Sign up
    to post a comment.