[Errno 22] Invalid argument: 'E:\\pyj\x0ben\\pyz\x03_film.csv'
时间: 2023-09-21 16:05:18 浏览: 174
C语言中最常用标准库函数 - candyliuxj - CSDN博客.docx
This error message suggests that there is an issue with the file path specified. The file path contains invalid characters such as '\x0b' and '\x03', which are not recognized by the operating system.
To fix this issue, you can try the following:
1. Check the file path and make sure it is correct.
2. Remove any invalid characters from the file path, such as '\x0b' and '\x03'.
3. Use raw string notation to avoid interpreting escape characters in the file path. For example, instead of 'E:\\pyj\x0ben\\pyz\x03_film.csv', use r'E:\pyj\x0ben\pyz\x03_film.csv'.
4. Ensure that the file exists in the specified location. If not, check the file name and location and correct any errors.
阅读全文