摘要: python2 \u8fd9\u662f 格式数据转为可用的中文 ''' s = '\u8fd9\u662f' print type(s) # <type 'str'> print s.decode('unicode-escape').encode('utf-8') # 这是 (先转成unicode 阅读全文
posted @ 2021-12-09 18:03 白大总管 阅读(11) 评论(0) 推荐(0)