Today, we're talking about constructors! Specifically, we'll look at the __init__() special method in Python, which functions as a constructor.
Welcome to The Renegade Coder, a site for people interested in Python programming and college teaching! Join me on Patreon for even more content.
Latest Articles
In this article, we'll take a look at what snake case is, when you would use it, and even why you should use it.
The infamous "name a woman" challenge has expanded into a speed run where you name 100 women. I took the challenge and failed miserably (hence why I'm hiding it behind the paywall).
It's July 2024, and I have three chapters of my dissertation drafted! Two more and we'll be ready to defend.
In growing the Python concept map, I thought I'd take today to cover the concept of special methods as their called in the documentation. However, you may have heard them called magic methods or even...
Today, we're expanding our new concept series by building on the concept of an iterable. Specifically, we'll be looking at a feature of iterables called iterable unpacking. Let's get into it!