a = '\u64cd\u4f5c\u7cfb\u7edf' print a.decode('unicode-escape').encode('utf-8') output:操作系统
参考:https://www.zhihu.com/question/35584979