This is useful for Windows pathnames and other situations where you don’t need string interpretation.  Such as handling text as blob.

raw_s = r'{}’.format(s)

Leave a Reply