Surprise from Python:
https://stackoverflow.com/questions/647769/why-cant-pythons-raw-string-literals-end-with-a-single-backslash
Python can’t have strings ending with single slash: r’\’ is illegal, even in raw literals.
The only robust way to replace single slash in using str.replace(chr(92), ‘/’)
Thanks god windows transparently works with unix slashes starting from win2k.