Home | My New Hugo Project

Python tip - convert to "raw" string

2021-07-09

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)