problems getting a single item out of a list

Michael Janssen Janssen at rz.uni-frankfurt.de
Tue Sep 17 04:55:25 EDT 2002


fields[2] for item with *index*-nr 2

Manuel Hendel wrote:

> I try to get a single item out of a list, but after this, the single
> item is stil a list item.
> 
> domainfield = fields[3:4]
> 
> I just want to get a new variable with a the value of the 3rd item of
> the list fields.
> 
> Can anyone help?
> 
> Thanks,
>     Manuel
> 




More information about the Python-list mailing list