![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 91
「已注销」
生活就是如此、
展开
-
python隐藏的玄机
·对象与应用 列表 In [1]: a = [1,2,3]In [2]: b = a # a,b同个引用地址In [3]: a.append(3)In [4]: a,b Out[4]: ([1, 2, 3, 3], [1, 2, 3, 3])字典In [5]: c = {1:2}In [6]: d = c # a,b同个引用地址In [7]: c[2] = 3...原创 2018-06-01 17:35:00 · 268 阅读 · 0 评论 -
Python隐藏的玄机2
GIL下CPU 使用超过100% ·其实是逃出了GIL的魔掌 ·走进了C的怀抱 include原创 2018-06-01 18:45:21 · 184 阅读 · 0 评论