摘要: 编码 assic(只有英文及特殊字符) gb2312(6700) gbk(1995-21000) gb18030(27000) 万国码:unicode python2.x默认为assic编码 python3.x默认为utf-8编码 改变编码:#-*- coding:utf-8 -*- (告诉py解释 阅读全文
posted @ 2017-02-05 00:09 super-sos 阅读(292) 评论(0) 推荐(0)
摘要: 字符串: 阅读全文
posted @ 2017-02-03 20:50 super-sos 阅读(179) 评论(0) 推荐(0)
摘要: 变量命名规则: 1、只能是字母、数字、下划线任意组合 2、变量第一个字符不能是数字 3、以下关键字不能作为变量名: and、as、assert、break、class、continue、def、del、elif、else、except、exec、finally、 for、from、global、if 阅读全文
posted @ 2017-01-08 17:25 super-sos 阅读(193) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-01-04 15:38 super-sos 阅读(12) 评论(0) 推荐(0)