Lambda
screaming
这个作者很懒,什么都没留下…
展开
-
Python lambda
To understand the lambda keyword/function and their constructs we must first review how regular function definitions work in Python. The following is the basic structure of a function definition:转载 2016-04-12 10:57:20 · 439 阅读 · 0 评论 -
sorting a python list by two criteria
Sorting a Python list by two criteria up vote59down votefavorite 20 I have the following list created from a sorted csv list1 = sorted(csv1, key=operator.itemgett转载 2016-06-18 17:45:28 · 430 阅读 · 0 评论