0

How would I get the human readable output of __sizeof__. For example:

# No
>>> x.__sizeof__()
16725808

# Yes
>>> x.__sizeof__()
16.7 MB
David542
  • 104,438
  • 178
  • 489
  • 842

0 Answers0