How to display name of elements in list?

Steven D'Aprano steve at REMOVETHIScyber.com.au
Wed Jul 12 08:43:23 EDT 2006


On Wed, 12 Jul 2006 05:17:30 -0700, cz wrote:

> Hi there,
> 
> I'm sure there is a very simple solution for my question, I just didn't
> find it up to now.
> I'm using a badly documented module and therefore need to find out
> about how to access the elements in a list.

Er, the same way you would access the elements in any other list?

mylist[0]
mylist[1:5]

etc.


Perhaps you need to rephrase your question.


-- 
Steven.




More information about the Python-list mailing list