
github
道友请多指教
学习是一个主动的过程
展开
-
git上传文件常用操作
创建新仓库的指令: git init //把这个目录变成Git可以管理的仓库 git add README.md //文件添加到仓库 git add . //不但可以跟单一文件,还可以跟通配符,更可以跟目录。一个点就把当前目录下所有未追踪的文件全部add了 git commit -m "first commit" //把文件提交到仓库 git remot...原创 2018-07-18 19:16:12 · 303 阅读 · 0 评论 -
@cached_property 缓存装饰器
以class为基础的缓存装饰器 class cached_property(property): """A decorator that converts a function into a lazy property. The function wrapped is called the first time to retrieve the result and ...原创 2018-07-31 15:24:50 · 4484 阅读 · 0 评论