摘要: 结论: performance: marshal > cPickle > json > pickle >>> timeit.timeit("pickle.dumps([1,2,3])","import pickle",number=10000) 0.2939901351928711 >>> time 阅读全文
posted @ 2021-11-29 17:54 春树&暮云 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 方法 临时方法 pip install pythonModuleName -i https://pypi.douban.com/simple 永久修改 方式1 修改~/.pip/pip.conf: [global] index-url = https://pypi.douban.com/simple 阅读全文
posted @ 2021-11-29 17:36 春树&暮云 阅读(357) 评论(0) 推荐(0) 编辑
摘要: # 需求 使用iguge插件访问google # 步骤 1. 访问 https://iguge.xyz/ 下载离线版iGuge Helper, 注意下载IGG离线安装器 2. 解压下载的包,添加到google拓展程序 3. 基于添加的拓展程序安装器,安装iGuge到拓展程序 4. 可正常访问goog 阅读全文
posted @ 2021-11-29 14:50 春树&暮云 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 需求 ubuntu系统以非root开机自动挂载外接磁盘 步骤 查看外接磁盘UUID 方式1: 使用Ubuntu系统自带的磁盘工具 "磁盘" 查看磁盘UUID 方式2: sudo fdisk -l 编辑/etc/fstab sudo vim /etc/fstab UUID=02901fxxxxxx / 阅读全文
posted @ 2021-11-29 14:42 春树&暮云 阅读(293) 评论(0) 推荐(0) 编辑