Python print无法输出中文字符_百度知道
see http://www.python.org/peps/pep-0263.html for details 就是一句简单的print输出 print "%s" %"中文“ 写在txt文件里,再在命令行里运行就会出现上述.....
Python的print输出中文对齐问题 - 推酷
问题描述: 在使用Python的内建函数print作英文输出时,应用格式化输出可以对齐得很好: s1 = 'I am a long sentence.' s2 = 'I\'m short.' print '%-30s%...