错误内容:UnicodeEncodeError: 'ascii' codec can't encode characters in position 28-29: ordinal not in range(128) 1.以为是代码错误,检查tab符,并没有问题, 2.将代码粘贴到空白项目中去,发现还是不对. 3.百度:http://blog.csdn.net/olanlanxiari/article/details/48201231 1.Python在安装时,默认的编码是ascii,当程序中出现…