Raw Strings
Raw string literals for regex and paths
Interview Relevant: Advanced string usage
Raw Strings
Prefix with r to ignore escape sequences.
Code Examples
Useful for paths and regex.
python
1path = r"C:\Users\Name"
2regex = r"\d+"Raw string literals for regex and paths
Prefix with r to ignore escape sequences.
Useful for paths and regex.
1path = r"C:\Users\Name"
2regex = r"\d+"Ask about the topic