How to get the size of an object?

Martin von Loewis loewis at
Tue Jun 5 10:37:47 CEST 2001

Michael Hudson <mwh at> writes:

> stain at (Nicola S.) writes:
> > Is there a way to get the size of an object in Python?
> > I mean something like 'sizeof' C operator... TIA
> Roughly speaking, no.  

To put that differently: the size of an instance object is 16.


More information about the Python-list mailing list