📅  最后修改于: 2022-03-11 14:56:19.244000             🧑  作者: Mango
import subprocess, shlex
mycmd='"C:\\Program Files\\7-Zip\\7z" x "D:\\my archive.7z" -o"D:\\extract folder" -aou'
subprocess.run(shlex.split(mycmd))