python 2.7 列表中文元素输出乱码

背景:

       使用python 2.7 输出列表(元素为中文)

         

解决方法:

      输出语句加上decode('string_escape'):

      

 

      

       

 

posted on 2018-08-09 16:10  Xxxxx~  阅读(2506)  评论(0)    收藏  举报