How can i call array_length to get the length of array object?

Ben Finney ben+python at benfinney.id.au
Sun Jun 24 21:17:32 EDT 2012


Mark Lawrence <breamoreboy at yahoo.co.uk> writes:

> On 24/06/2012 09:15, gmspro wrote:
>
> > Why __len__() where the original name if array_length? Why is method
> > names like __NAME__ ?

These are questions answered by getting a thorough grounding in the
fundamentals of Python. Please follow the Python tutorial
<URL:http://docs.python.org/tutorial/>, from beginning to end, to learn
about the basics like this.

> Why are you too bloody lazy to do any research before you post
> questions?

I understand your frustration in this case, but there's no call for such
vitriol. Please keep it off this forum.

-- 
 \        “Pinky, are you pondering what I'm pondering?” “Wuh, I think |
  `\   so, Brain, but wouldn't anything lose its flavor on the bedpost |
_o__)                               overnight?” —_Pinky and The Brain_ |
Ben Finney



More information about the Python-list mailing list