0

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

# No
>>> x.__sizeof__()
16725808

# Yes
>>> x.__sizeof__()
16.7 MB
David542
  • 101,766
  • 154
  • 423
  • 727

0 Answers0