Right now... well, we don't. This should parse: some_string = "hello, world wat = \" wo\\\"wat\\\" w \"" print(some_string) and print: hello, world wat = " wo\"wat\" w "