jjmark15
5/28/2017 - 8:30 PM

get memory size of variable

get memory size of variable

from sys import getsizeof

var = 'blah'
print(getsizeof(var))