摘要:
2种方法: 1.open文件设置encoding file = open(filename, 'r', encoding='UTF-8') 2.用encode方法 str = str.encode() 参考:https://www.fujieace.com/python/str-bytes.html 阅读全文
posted @ 2020-07-04 22:55
西伯尔
阅读(785)
评论(0)
推荐(0)
摘要:
参考:https://blog.csdn.net/zhang__shuang_/article/details/82527314 阅读全文
posted @ 2020-07-04 22:43
西伯尔
阅读(612)
评论(0)
推荐(0)
浙公网安备 33010602011771号