标签:中文 error div must err nbsp run txt append
ValueError: must have exactly one of create/read/write/append mode
fo = open(‘runoob.txt‘, ‘rw+‘)
python 中文件打开操作的mode中没有“rw”
合法的mode有:
r、rb、r+、rb+、w、wb、w+、wb+、a、ab、a+、ab+
ValueError: must have exactly one of create/read/write/append mode
标签:中文 error div must err nbsp run txt append
原文地址:https://www.cnblogs.com/wujily/p/12872926.html