KaraKaraWitch commited on
Commit
b883eab
·
verified ·
1 Parent(s): 643856c

Upload scripts/StackExtractor.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. scripts/StackExtractor.py +4 -0
scripts/StackExtractor.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import subprocess, pathlib
2
+
3
+ for file in pathlib.Path("stackexchange").glob("*.7z"):
4
+ subprocess.call(["7z","e","-y",file, f'-o{file.with_suffix("")}'])