2015年7月19日

decode和encode

摘要: decode的作用是将其他编码的字符串转换成unicode编码,如str1.decode(‘gb2312’),表示将gb2312编码的字符串转换成unicode编码。 encode的作用是将unicode编码转换成其他编码的字符串,如str2.encode(‘gb2312’),表示将... 阅读全文

posted @ 2015-07-19 22:21 Broven 阅读(164) 评论(0) 推荐(0) 编辑

git学习笔记

摘要: git学习笔记@(python) git 命令 这是git常用命令 init 建立git仓库 add 把文件添加到仓库 commit 把文件提交到仓库,将暂存区中的文件提交到master中 status 掌握仓库的状态,看到更改的,有没有提交 diff =di... 阅读全文

posted @ 2015-07-19 21:19 Broven 阅读(211) 评论(0) 推荐(0) 编辑

导航