Sort list of dictionaries by date in Python 3.4
This question already has an answer here:
在发布这个问题时,我想出了我应该分享的答案。
x = sorted(x, key = lambda k: k["date"])
链接地址: http://www.djcxy.com/p/70768.html
上一篇: 如何在Python中多列出字典列表?