参考 OSError: [Errno 22] Invalid argument: 'D:\test\x07' - 云+社区 - 腾讯云
有时候在使用python的文件路径时,中间会包含python的转义字符,因此会报错:
遇到转义字符串的地方改成双斜线即可:
python的转义字符串详见:
https://blog.csdn.net/weixin_36670529/article/details/88626248
参考 OSError: [Errno 22] Invalid argument: 'D:\test\x07' - 云+社区 - 腾讯云
有时候在使用python的文件路径时,中间会包含python的转义字符,因此会报错:
遇到转义字符串的地方改成双斜线即可:
python的转义字符串详见:
https://blog.csdn.net/weixin_36670529/article/details/88626248