Q: elements in a list [newbie]
Greg Jorgensen
gregj at pobox.com
Thu Feb 1 14:23:05 EST 2001
len(list)
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())
>
> Harvest T. Moon
>
>
--
Greg Jorgensen
Portland, Oregon, USA
gregj at pobox.com
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list