如何用python把這段ASCII碼轉換為可讀的字符串?
答案如下:#!/usr/bin/env python3# -*- coding:utf-8 -*-str = "\u53ef\u8f6c\u51fa\u91d1\u989d\u8d85\u9650"str.encode('utf8')print(str)
上一篇戰地1好友怎么一起開黑
如何用python把這段ASCII碼轉換為可讀的字符串?
答案如下:#!/usr/bin/env python3# -*- coding:utf-8 -*-str = "\u53ef\u8f6c\u51fa\u91d1\u989d\u8d85\u9650"str.encode('utf8')print(str)