How-to articles, tricks, and solutions about SIZEOF
How do I determine the size of an object in Python?
You can use the sys.getsizeof() function to determine the size of an object in bytes.