Raw Strings don't treat the backslash as a special character : Raw String « String « Python Tutorial






# The last character in a raw string cannot be a backslash. 


print 'C:\\Program Files\\fnord\\foo\\bar\\baz\\frozz\\bozz' 
print r'C:\nowhere'
print r'C:\Program Files\fnord\foo\bar\baz\frozz\bozz'
print r'Let\'s go!'








5.22.Raw String
5.22.1.Raw Strings don't treat the backslash as a special character