Today, when you use the remove (path) function of Python’s OS library to delete a file, you always report the error windowserror: [error 2], and this error means that the file does not exist. It’s right to check the path and file name repeatedly. I didn’t find out why for half an hour. Later, I finally found that I didn’t write the file suffix. If I didn’t write the suffix, I would report an error. It’s embarrassing
Similar Posts:
- Net:: err_ CONTENT_ LENGTH_ Mismatch error, nginx configuration is correct
- ETL component flume startup error [How to Solve]
- remove-weknow-ac from mac chrome
- Java call ssl exception (javax.net.ssl.SSLHandshakeException: No appropriate protocol)
- Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist
- Error reporting when importing Maven project from MyEclipse
- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources failed.
- [Solved] Eclipse Error: Access restriction: The type ‘BASE64Decoder’ is not API
- is in user e2fsck: cannot continue ,aborting
- MySQL 5.7 installation, mysql. Plugin ‘doesn’t exist error resolution