python遇到编码问题
#coding=utf-8utf-8是告诉python interpret如何解释字符串的编码当python遇到如下情况时 print(“{:^10}\t{:^6}\t{:^10}”.format(u[0], u[1], u[2])) UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 1-4