摘要: 字符串转unicode字符串技术要点: ord()函数 format()函数 代码: def str_to_unicode(string, upper=True): '''字符串转unicode''' if upper is True: return ''.join(rf'\u{ord(x):04X 阅读全文
posted @ 2023-01-14 04:30 eliwang 阅读(0) 评论(0) 推荐(0) 编辑