Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24409

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

From Ben Finney <ben+python@benfinney.id.au>
Newsgroups comp.lang.python
Subject Re: How can i call array_length to get the length of array object?
References <1340524913.38366.YahooMailClassic@web164603.mail.gq1.yahoo.com> <1340525704.2880.YahooMailClassic@web164605.mail.gq1.yahoo.com> <mailman.1454.1340541869.4697.python-list@python.org>
Date 2012-06-25 11:17 +1000
Message-ID <87pq8orxzn.fsf@benfinney.id.au> (permalink)
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


Mark Lawrence <breamoreboy@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: How can i call array_length to get the length of array object? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-06-24 13:45 +0100
  Re: How can i call array_length to get the length of array object? Ben Finney <ben+python@benfinney.id.au> - 2012-06-25 11:17 +1000
    Re: How can i call array_length to get the length of array object? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-06-25 13:54 +0100
    Re: How can i call array_length to get the length of array object? Terry Reedy <tjreedy@udel.edu> - 2012-06-25 16:20 -0400

csiph-web