Talk Python To Me cover image

#24: Fluent Python

Talk Python To Me

How to Do Meta Programming With Classes in Python

2min Snip

00:00
Play full episode
The book is about how attributes actually work in Python. I start with some simple examples using the done there get after a special method that allows you to emulate like a virtual attribute. Then I talk about properties in the, and then I go to the next chapter is about descriptors, which is the infrastructure for properties. And then I developed an example that was that evolved from a talk that I gave at Python in 2013 in Santa Clara. Was called encapsulation with descriptors,. But in the chapter I can spend much more than 45 minutes with that or 30 minutes action it was. The last chapter is about class method programming. That's that wraps up the book.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode