排序
sorted(data,reverse=True or False)zip()将多个可迭代对象打包成一个元组列表
list or set (zip())map()对可迭代对象中的每个元素应用函数
map(data,func)filter() 跟map类似的用法reduce()对可迭代对象中的元素进行累计计算
from functools import reduce
用法跟…
1. GIL全局解释器锁1.1 概念
In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiplenative threads from executing Python bytecodes at once. This lock is necessary mainly
because CPython’s memory management is not thread-safe. (How…