python - 爬虫爬取图片保存成了白色的文件,无法删除
迷茫
迷茫 2017-04-17 17:49:34
0
5
872

怎么删除它们???

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(5)
黄舟

You can try this
Open CMD, then enter the directory, and then use the following command
del /f /a /q The name of the file to be deleted del /f /a /q 要删除的文件名
你只用输入前面的就好,要删除的文件名使用TABYou only need to enter the previous one, and use TAB key completion to find the file name to be deleted.

Ty80

Did you forget to close when writing the file?

黄舟

Delete after renaming or shift+delete

PHPzhong

Is there any problem with the path?

洪涛

has nothing to do with python.
This is caused by a small bug in the Windows Chinese system and Korean character file names. You can search for details.
You can try various fancy deletion methods such as renaming and deleting, deleting the entire folder, etc.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!