search

Home  >  Q&A  >  body text

python - 爬虫爬取图片保存成了白色的文件,无法删除

怎么删除它们???

迷茫迷茫2805 days ago899

reply all(5)I'll reply

  • 黄舟

    黄舟2017-04-17 17:51:34

    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.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:51:34

    Did you forget to close when writing the file?

    reply
    0
  • 黄舟

    黄舟2017-04-17 17:51:34

    Delete after renaming or shift+delete

    reply
    0
  • PHPz

    PHPz2017-04-17 17:51:34

    Is there any problem with the path?

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:51:34

    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.

    reply
    0
  • Cancelreply