原始字符(original character) # 让转义字符不起作用,在字符串中加r或R print(r'hello\nworld') print(R'hello\nworld') # 注意:最后一个字符不能是\,可以是\\ # print(r'hello\nworld\') print(r'hello\nworld\\')