<human>:  How do I un-escape a backslash-escaped string in python?
<bot>: Here is some code to un-escape a backslash-escaped string in `Hello,\\nworld!`

print('"Hello,\\nworld!"'.decode('string_escape'))

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