Is there any way to find out sizeof an object
Paddy
paddy3118 at googlemail.com
Tue Jun 24 03:44:47 EDT 2008
On Jun 24, 6:00 am, srinivasan srinivas <sri_anna... at yahoo.co.in>
wrote:
> 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 onhttp://in.promos.yahoo.com/groups/bestofyahoo/
Check memory
Create a million
Check memory
Do maths!
;-)
- Paddy.
More information about the Python-list
mailing list