StackingExchange / scripts /StackExtractor.py
KaraKaraWitch's picture
Upload scripts/StackExtractor.py with huggingface_hub
b883eab verified
raw
history blame contribute delete
154 Bytes
import subprocess, pathlib
for file in pathlib.Path("stackexchange").glob("*.7z"):
subprocess.call(["7z","e","-y",file, f'-o{file.with_suffix("")}'])