What Are Python Raw Strings?
If you’ve ever come across a standard string literal prefixed with either the lowercase letter r or the uppercase letter R, then you’ve encountered a Python raw string: Although a raw string looks and behaves mostly the same as a normal string literal, there’s an important difference in how Python interprets some of its characters, which you’ll explore in this tutorial. Notice that there’s nothing special about the resulting string object. Whether you declare your literal value using a prefix […]
Read more