摘要: 今天下午写了一下午的代码给合并没了 然后晚上觉得还是要好好学习一下git的使用 推荐几个git的教程 https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001374831943254 阅读全文
posted @ 2017-12-11 22:21 Earendil 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1 写文件如果是bytes类型的话,打开文件 open参数设置为wb 2 python2 默认包import是相对路径,python3是绝对路径 3 python3的dict没有has_key方法,用in 4 map() in Python 3 is a generator function, wh 阅读全文
posted @ 2017-12-11 19:05 Earendil 阅读(192) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/12172791/changes-in-import-statement-python3 阅读全文
posted @ 2017-12-11 17:58 Earendil 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 查看git分支: git fetch刷新git git branch -a 列出所有的分支 git checkout origin/要切换的分支 git branch -r 查看远程分支 git checkout -t origin/要切换的远程分支 阅读全文
posted @ 2017-12-11 13:41 Earendil 阅读(126) 评论(0) 推荐(0) 编辑