发布网友
共1个回答
热心网友
在源文件开头加上
#!/usr/bin/env python
# coding=utf-8
# encoding: utf-8
需要print 中文字符串的时候,假设字符串变量名为 sss,那么用:
str(sss).decode('string_escape')