bug_x

导航

 

2019年6月19日

摘要: shutil:高级的 文件、文件夹、压缩包 处理模块 shutil.copyfileobj(fsrc, fdst[, length])(copyfileobj方法只会拷贝文件内容)将文件内容拷贝到另一个文件中 shutil.copyfile(src, dst) (copyfile只拷贝文件内容)拷贝 阅读全文
posted @ 2019-06-19 17:16 bug_x 阅读(302) 评论(0) 推荐(0) 编辑
 
摘要: 1、 aaa 阅读全文
posted @ 2019-06-19 16:35 bug_x 阅读(1940) 评论(0) 推荐(0) 编辑
 
摘要: zip -r project.zip project/ -x@exclude.lst 阅读全文
posted @ 2019-06-19 15:08 bug_x 阅读(635) 评论(0) 推荐(0) 编辑
 
摘要: 上篇文章中的reshape(-1,2),有的时候不明白为什么会有参数-1,可以通过查找文档中的reshape()去理解这个问题 根据Numpy文档(https://docs.scipy.org/doc/numpy/reference/generated/numpy.reshape.html#nump 阅读全文
posted @ 2019-06-19 11:01 bug_x 阅读(114) 评论(0) 推荐(0) 编辑
 
摘要: 1、Pickle模块 打包,解压训练模型 2、pysnooper 调试打印日志 阅读全文
posted @ 2019-06-19 10:21 bug_x 阅读(144) 评论(0) 推荐(0) 编辑