On Fri, Aug 29, 2008 at 6:15 PM, ammar azif <[EMAIL PROTECTED]> wrote:
> Thanks for the explanation. Btw, How can I get the size of python primitive
> data types in bytes? Is it defined somewhere in a file that I can look at?

Not really. sys.maxint gives the largest int, from which you can infer the size.

Here is a (complex) recipe that reports sizes:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/546530

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to