python 在Linux上执行,版本是2.7
python中的文件操作,写一个换行符,出现了如下错误:
Traceback (most recent call last): File "parse_new.py", line 130, in <module> main() File "parse_new.py", line 102, in main
f.write("\n")
TypeError: must be unicode, not str
明月笑刀无情
拉风的咖菲猫
随时随地看视频慕课网APP
相关分类