Python
酱油王
这个作者很懒,什么都没留下…
展开
-
Python sorted
sorted(iterable, cmp=None, key=None, reverse=False) Key Functions Starting with Python 2.4, both list.sort() and sorted() added a key parameter to specify a function to be called on each list ele原创 2017-11-05 17:53:14 · 305 阅读 · 0 评论 -
utils.py
import os import sys import stat import select import time import errno try: InterruptedError except NameError: # Alias Python2 exception to Python3 InterruptedError = select.error def转载 2017-06-04 00:35:54 · 1206 阅读 · 0 评论