human
Python - how to convert a "raw" string into a normal string
assistant
Here is some code to decode string "\\x89\\n" into a normal string

"""\\x89\\n""".decode('string_escape')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.