python3怎么把\u002F这种类型的字符进行对应的替换 柚子味儿的西瓜 2022-06-09 229 阅读1分钟 slashUStr = "https:\u002F\u002Fm.dhgate.com\u002Fproduct\u002Fsnoop-dogg-doggystyle-album-logo-black-white\u002F427954156.html" decodedUniChars = slashUStr.encode('utf-8').decode("unicode_escape") print("decodedUniChars=", decodedUniChars)