Mike

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 »

Python 101 – How to Create a Graphical User Interface

When you first get started as a programmer or software developer, you usually start by writing code that prints to your console or standard out. A lot of students are also starting out by writing front-end programs, which are typically websites written with HTML, JavaScript and CSS. However, most beginners do not learn how to

Python 101 – How to Create a Graphical User Interface Read More »

Python 101 – How to Generate a PDF

The Portable Document Format (PDF) is a very popular way to share documents across multiple platforms. The goal of the PDF is to create a document that will look the same on multiple platforms and that will print the same (or very similar) on various printers. The format was originally developed by Adobe but has

Python 101 – How to Generate a PDF Read More »