Is there any way to find out sizeof an object

srinivasan srinivas sri_annauni at yahoo.co.in
Tue Jun 24 01:00:38 EDT 2008


Hi,
I have written a class which has some attributes. I want to know how do i find out the size of an instance of this class??
class T(object):
    def __init__(self, fn_name, *args, **kwds):
        self.fn_name = fn_name
        self.args = args
        self.kwds = kwds
Thanks,
Srini


      Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups/bestofyahoo/



More information about the Python-list mailing list