List Question

Bill Loren lorenb2 at bezeqint.net
Sun Jul 27 19:18:18 EDT 2003


Thanks all,
and again, accept my apologizes for the stupid question...
*blushed* B


----- Original Message ----- 
From: "Dave Harrison" <dave at nullcube.com>
To: "Bill Loren" <lorenb2 at bezeqint.net>
Sent: Monday, July 28, 2003 1:19 PM
Subject: Re: List Question


> ah ... a perl coder ;-) *chuckle*
> 
> len(heck_of_a_list)
> 
> will give you the length of the list
> 
> Bill Loren (lorenb2 at bezeqint.net):
> > Hello,
> > 
> > Forgive my python newbieness.
> > Assume I have a list named heck_of_a_list.
> > how would I extract the number of elements out of it ?
> > (I'm looking for something like perl's $#heck_of_a_list operand)
> > 
> > thanks
> > B
> >







More information about the Python-list mailing list