随笔分类 -  Python

摘要:from concurrent.futures.thread import ThreadPoolExecutor from concurrent.futures.process import ProcessPoolExecutor from multiprocessing import Manage 阅读全文
posted @ 2021-05-29 23:00 Ay1e 阅读(99) 评论(0) 推荐(0)
摘要:国内源 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:https://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 华中理工大学:htt 阅读全文
posted @ 2021-01-24 15:56 Ay1e 阅读(103) 评论(0) 推荐(0)
摘要:#内建函数:![内置函数](http://upload-images.jianshu.io/upload_images/13696221-a41d727da1eb4e38.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)>其他相关 不建议 阅读全文
posted @ 2020-02-17 14:08 Ay1e 阅读(145) 评论(0) 推荐(0)
摘要:Python 变量的三个特征(重点)id:type:value: python自动的垃圾回收机制垃圾:值身上的引用计数为0增加引用计数x=1y=x减少引用计数x='egon'del y # 删除y与1的绑定关系 x=1y=1(python优化)id(x)=id(y) 变量的命名规范?#1. 变量名只 阅读全文
posted @ 2018-08-02 21:57 Ay1e 阅读(40) 评论(0) 推荐(0)