摘要: 代码参见:github# -*- coding: utf-8 -*-#1. Python2版本默认是ASCII编码,为了使其支持中文,需在文件开头加入coding=utf-8 #2. 格式化输出print 'Hi, %s, you have %d.' %('kesen', 1000000) //... 阅读全文
posted @ 2015-03-24 15:32 action爱生活 阅读(281) 评论(0) 推荐(0) 编辑