Hello, Greg!
You wrote on Mon, 30 Jun 2003 19:44:20 -0500:
??>>>> tbl.Fields()
GB> [('STOCKNO', 'C', 8, 0), ('DACC', 'C', 5, 0), ('DEALERACCE', 'C', 30,
[Sorry, skipped]
GB> but I expect that one of those fancy map/lamda/list comprehension
GB> functions can turn this into a list for me, but, to be honest, they
GB> still make my head spin trying to figure them out. Any ideas on how to
GB> do this simply?
=============================================
a=[('STOCKNO', 'C', 8, 0), ('DACC', 'C', 5, 0), ('DEALERACCE', 'C', 30,
0), ('D-ACCRTL', 'C', 9, 0), ('D-ACCCST', 'C', 9, 0)]
b=[x[0] for x in a] #

Python is cool!
print b
=============================================
As I know the map/lamda/list works very slow and you should use it 'only'
with SCRIPTS.
[Sorry, skipped]
With best regards, Egor Bolonev. E-mail: