Help: sizeof() and reference in python?

Gene Chiaramonte gchiaramonte at ibl.bm
Sun Mar 5 07:17:43 EST 2000


Is there a way to get the size of an object in python? I'd also like to get
a reference to an object.

example in c:

l = [1, 2, 3]	#python list

t1 = sizeof(l)	// how i'd do it in c
t2 = &l

Thanks,

Gene





More information about the Python-list mailing list