在python中r是防止字符被转义的。比如: print r'Hello\n\t world!' 输出的是: Hello\n\t world! 而如归字符串前不加r, 则输出: Hello world!