File size: 154 Bytes
b883eab
 
 
 
1
2
3
4
import subprocess, pathlib

for file in pathlib.Path("stackexchange").glob("*.7z"):
    subprocess.call(["7z","e","-y",file, f'-o{file.with_suffix("")}'])