problems getting a single item out of a list
Sean 'Shaleh' Perry
shalehperry at attbi.com
Tue Sep 17 09:30:52 CEST 2002
On Tuesday 17 September 2002 00:19, 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?
just use fields (you start counting at zero).
More information about the Python-list