2013-09-01 42 views

回答

0

嘗試以下操作:

>>> units_ability = [(1L,), (2L,)] # units_abilities = (Session....all()) 
>>> [x for (x,) in units_ability] 
[1L, 2L] 
相關問題