How to Override a List Attribute’s Append() Method in Python

I had a use-case where I needed to create a class that had an attribute that was a Python list. Seems simple, right? The part that made it complicated is that I needed to do something special when anything was appended to that attribute. Watching for attribute changes don’t work the same way for lists

How to Override a List Attribute’s Append() Method in Python Read More »

PyBites Podcast: Episode #043 – Becoming a prolific Python content provider

This week, Mike Driscoll (author of this website), is on the PyBites Podcast. It’s titled Episode #043 – Becoming a prolific Python content provider You can listen to the podcast on PyBites. In the podcast, the hosts and I talk about: how Mike got into programming and Python (and the importance of community), how Mike

PyBites Podcast: Episode #043 – Becoming a prolific Python content provider Read More »