What's the difference between Regular String and Raw String in Python
In the Raw Strings prefixed with 'r', backslashes are not handled in any special way, so r"\n" literally means '\' and 'n', while "\n" means a newline character.
For example, the following regular expression pattern matches the C-like comment line
No comments:
Post a Comment