len

len(s)

Returns the length (the number of items) of an object. The argument may be a sequence (string, tuple or list) or a mapping (dictionary).

To make this function work on your own classes, implement the __len__ method.

 

A Django site. this page was rendered by a django application in 0.02s 2009-01-09 00:57:22.524220. hosted by webfaction.