编程语言python语言 linux 2023-01-19 Source Edit History undefined python3字符串上加上 r 的作用 1'r' 是防止字符转义。告诉编译器这个string是个 raw string,比如 \n 代表两个字符,不会转义为换行符