摘要: import sys import os print(os.path.dirname(sys.executable)) 阅读全文
posted @ 2021-09-13 12:12 Ay1e 阅读(123) 评论(0) 推荐(0)
摘要: 键盘失灵使用虚拟键盘 win + r 输入osk 阅读全文
posted @ 2021-05-30 22:04 Ay1e 阅读(63) 评论(0) 推荐(0)
摘要: from concurrent.futures.thread import ThreadPoolExecutor from concurrent.futures.process import ProcessPoolExecutor from multiprocessing import Manage 阅读全文
posted @ 2021-05-29 23:00 Ay1e 阅读(94) 评论(0) 推荐(0)
摘要: 1.重启服务器,在选择内核界面使用上下箭头移动 2.选择内核并按键 “e” 3.找到: fi linux16 /boot/vm... 4.ro 改为 rw 5.删除掉rhgb quiet 6.在 “LANG=em_US.UTF-8”之后插入“init=/bin/bash” 7.按 ctrl+x或者F 阅读全文
posted @ 2021-01-24 16:04 Ay1e 阅读(616) 评论(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 阅读(102) 评论(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)