Just use a list comprehension in whatever function is consuming uids : instead of uids = map(operator.itemgetter("uid"), users) foo(uids).
確定! 回上一頁