RosettaCodeData/Task/Variable-size-Get/Python/variable-size-get-2.py

3 lines
30 B
Python

import sys
sys.getsizeof(obj)