07 2022 档案
摘要:Git 可视化操作 可视化教程地址:https://learngitbranching.js.org/?locale=zh_CN 基础 git commit git commit 可以在当前分支上创建一个提交记录。 提交之前,在 c2 节点上: 执行两次 git commit 之后: 我们的节点向前
阅读全文
摘要:Tenacity 重试库 tenacity 是一个很强大的重试库,前身是 retrying ,因为 retrying 停止维护了,所以有人弄出了这个库。 英文文档地址:https://tenacity.readthedocs.io/en/latest/ 安装: pip install tenacit
阅读全文
摘要:python 单分派泛函数 python3.4 中新增了一个泛函数装饰器,它可以让你的函数,根据参数类型的不同,执行不同的代码(注意,它只能查找第一个参数的类型) 譬如: from functools import singledispatch @singledispatch # 加装饰器,变成泛函
阅读全文
摘要:matplotlib 这是一篇快速画图的简单用法,另一个稍微详细一点的教程,可以见:https://www.cnblogs.com/wztshine/p/15101086.html 简单使用: import numpy as np from matplotlib import pyplot as p
阅读全文
摘要:NumPy 简单操作 参考自: https://www.runoob.com/numpy/numpy-tutorial.html https://www.bilibili.com/video/BV1Jt4y1h7Vt?p=33&vd_source=5ea526e05548d953b6378f5fbd
阅读全文