I was doing a few experiments with escape backslashes in the Python 3.4 shell and noticed something quite strange.
>>> string = \"\\test\\test\\1\\2
When you write
string = "\test\test\1\2\3"
Python thinks that you want to define a string of characters that starts with the tab character ("\t") then the character "e", then "s", and so on. Python also thinks that you want to include some non-printable characters corresponding to the literal numbers 1, 2, and 3, which the shorthand "\1", "\2" and "\3" provides.