Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Datasets:
recursal
/
StackingExchange
like
0
Follow
recursal
75
Tasks:
Text Generation
Fill-Mask
Sub-tasks:
language-modeling
masked-language-modeling
Languages:
English
License:
cc-by-sa-3.0
Dataset card
Files
Files and versions
Community
main
StackingExchange
/
scripts
/
StackExtractor.py
KaraKaraWitch
Upload scripts/StackExtractor.py with huggingface_hub
b883eab
verified
about 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
154 Bytes
import
subprocess, pathlib
for
file
in
pathlib.Path(
"stackexchange"
).glob(
"*.7z"
):
subprocess.call([
"7z"
,
"e"
,
"-y"
,file,
f'-o
{file.with_suffix(
""
)}
'
])