如果文件是这样的:
OrderedDict
([
('activateable', False),
('Thisfield',
[OrderedDict ([ ('autoNumber', False), ('name', ‘col_1’), (‘amount’, ‘10’)]),
[OrderedDict ([ ('autoNumber', False), ('name', ‘col_2’), (‘amount’, ‘10’)])
),
('Thisfield2',
[OrderedDict ([ ('autoNumber', False), ('name', ‘col_1’), (‘amount’, ‘10’)]),
[OrderedDict ([ ('autoNumber', False), ('name', ‘col_2’), (‘amount’, ‘10’)])
),
('Thisfield3',
[OrderedDict ([ ('autoNumber', False), ('name', ‘col_1’), (‘amount’, ‘10’)]),
[OrderedDict ([ ('autoNumber', False), ('name', ‘col_2’), (‘amount’, ‘10’)])
)
('pin', False)
])
...而我只想返回 'Thisfield1, Thisfield2, Thisfield3'?