数据中的转义字符,如: image.png 数据中出现这些字符需要将其处理为显示字符 import html my_str = 'abc&def' new_str = html.unescape(my_str) # 输出new_str 'abc def'