Snippets tagged “object-size”
1 snippet uses this tag.
- How do I determine the size of an object in Python?Python
You can use the sys.getsizeof() function to determine the size of an object in bytes.
1 snippet uses this tag.
You can use the sys.getsizeof() function to determine the size of an object in bytes.