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.01s 2011-06-21 21:13:19.182200. hosted by webfaction.