Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
q6
/
p
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
p
/
Client
/
clear_texts.py
q6
Inceased up to limit
cce3adb
about 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
164 Bytes
import
os
os.chdir(os.path.dirname(os.path.abspath(__file__)))
for
file
in
os.listdir():
if
file.endswith(
".txt"
):
os.rename(file,
f"txt logs/
{file}
"
)