Extracting a 7-Zip file “silently” - command line option

后端 未结 14 2274
南笙
南笙 2021-02-06 23:19

I want to extract a 7-Zip archive in a Python script. It works fine except that it spits out the extraction details (which is huge in my case).

Is there a way to avoid t

14条回答
  •  野性不改
    2021-02-07 00:15

    You can stop 7-Zip from displaying prompts by using the -y switch. This will answer yes to all prompts. Use this only when you are confident.

提交回复
热议问题