Q: elements in a list [newbie]

Aahz Maruch aahz at panix.com
Thu Feb 1 14:14:28 EST 2001

In article <95cbfs$gu0iq$1 at ID-22517.news.dfncis.de>,
Harvest T. Moon <h4rv3st.m00n at gmx.net> wrote:
>i hope this is not some kind of 'very stupid' question, how can i find out
>how many elements are in a list?
>(generated by file.readlines())


See the section on built-in functions in the Python docs.
                      --- Aahz (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"People sometimes focus too much on the fact of communication rather than
the substance of communication."  --Dave Morton

More information about the Python-list mailing list