r/learnpython • • 3h ago

Looking for a more comprehensive guide on Classes and Objects

Hello, I'm a programmer who already knows several other languages and I'm looking to relearn Python recently (I learned and used it briefly several years ago). I was going through The Python Tutorial on the official python documentation site but it seems like the chapter on Class is way too brief and doesn't even touch on topics I knew were quite useful, like super(), \@property, and those amazing dunder/magic methods. Does anyone have recommendations on a more comprehensive guide to Python Classes, Objects, and Inheritance? I know there are books like Fluent Python but those are too heavy for me as a review of the language, I don't need to look under the hood that much, just explanations and practical uses of useful features.

4 Upvotes

3 comments sorted by

•

u/Correct_Rain_9438 18m ago

Try the language reference instead of the tutorial. The built-in functions page documents property and super, and the data model page covers special methods like init and repr. It reads drier than a book, but it is not heavy on internals.

-1

u/Legitimate-Pick-3986 3h ago

Your pramming in python?