Operator
screaming
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python bitwise and or operator VS logical operator
Bitwise And a & b and_(a, b) Bitwise Exclusive Or a ^ b xor(a, b) Bitwise Inversion ~ a invert(a) Bitwise Or a | b or_(a, b) Exponentiation a **转载 2016-06-02 23:49:01 · 1151 阅读 · 0 评论 -
Sort tuple or multiple field with operator
Starting with Python 2.4, both list.sort() and sorted() added a key parameter to specify a function to be called on each list element prior to making comparisons. For example, here’s a case-insensi转载 2016-06-19 00:00:12 · 529 阅读 · 0 评论
分享