python2 with open(path,"",) as f:2024-01-31 18:03:28python2 with open 没有 encoding 这个参数 会报错, 可以 import io with io.open(path,"") as f: 这样就ok 或者是读取的时候 加上 encoding上一篇:python学习笔记--pip安装pyaudio库报错ERROR: Command errored out with exit status 1:解决办法下一篇:2020-11-30