python打印txt文件时,会带有b' \r\n'

要在后面加上.decode().strip()即可

posted @ 2019-02-22 16:48  durcaidurcai  阅读(3382)  评论(0编辑  收藏  举报