Howto: extract a 'column' from a list of lists into a new list?
Lulu of the Lotus-Eaters
mertz at gnosis.cx
Tue Jul 1 03:30:28 EDT 2003
More information about the Python-list mailing list
Tue Jul 1 03:30:28 EDT 2003
- Previous message (by thread): Howto: extract a 'column' from a list of lists into a new list?
- Next message (by thread): Howto: extract a 'column' from a list of lists into a new list?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Greg Brunet" <gregbrunet at NOSPAMsempersoft.com> wrote previously: |>>> tbl.Fields() |[('STOCKNO', 'C', 8, 0), ('DACC', 'C', 5, 0), ('DEALERACCE', 'C', 30, |0), ('D-ACCRTL', 'C', 9, 0), ('D-ACCCST', 'C', 9, 0)] NAME,TYPE,LEN,DEC = range(4) names = [row[NAME] for row in tbl.Fields()] -- Keeping medicines from the bloodstreams of the sick; food from the bellies of the hungry; books from the hands of the uneducated; technology from the underdeveloped; and putting advocates of freedom in prisons. Intellectual property is to the 21st century what the slave trade was to the 16th.
- Previous message (by thread): Howto: extract a 'column' from a list of lists into a new list?
- Next message (by thread): Howto: extract a 'column' from a list of lists into a new list?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list