Holen Sie sich die erste Elementliste von Tupel Python
>>> a = [(1, u'abc'), (2, u'def')]
>>> [i[0] for i in a]
[1, 2]
Creepy Cat
>>> a = [(1, u'abc'), (2, u'def')]
>>> [i[0] for i in a]
[1, 2]
firstItem = tupple[0]