problems getting a single item out of a list
Manuel Hendel
manuel at hendel.net
Tue Sep 17 04:02:09 EDT 2002
On Tue, Sep 17, 2002 at 12:30:52AM -0700, Sean 'Shaleh' Perry wrote:
>
> just use fields[2] (you start counting at zero).
This worked fine:
domainfield = fields[3]
But the next problem is, that after a
domainfield = string.split(fields[3])
domainfield seams to be a list item again.
print domainfield
['142000']
Manuel
--
In Ohio, if you ignore an orator on Decoration day to such an extent as to
publicly play croquet or pitch horseshoes within one mile of the speaker's
stand, you can be fined $25.00.
More information about the Python-list
mailing list