$ The Prompted Programmer

>>> notes from the command line

The memory footprint of Python objects

Background

Of late, I was exploring Python again after a while and looking at how classes and instances keep state. Let us look at a simple example of a Python class.

class Person:
    def __init__(self, name, age, gender):
        self.name = name
        self.age = age
        self.gender = gender

Let me …

My First Prompt

After a decade or so of procrastinating, I finally prompted myself to work on my first tech blog. You will see thoughts, content and knowledge from me shared on this platform on a regular basis from here on. Thanks for reading!