How to replace a double backslash with a single backslash in python? [duplicate] April 20, 2023 by Tarik Python3: >>> b'\\u201c'.decode('unicode_escape') '“' or >>> '\\u201c'.encode().decode('unicode_escape') '“'