注意是反斜杠 打印输出时想获得换行效果: print "ab\nc" ab c 在文件操作时想读取到换行效果 必须写成"ab\r\nc" ab c 想真正获得/n普通含义 则需要print "\\n" \n 相关文章: