Spaces:
Running
Running
Download Code/file_Extensions.py from JavedA/master_Thesis: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/JavedA/master_Thesis/resolve/main/Code/file_Extensions.py
- Command line
-
hf download hf://spaces/JavedA/master_Thesis/Code/file_Extensions.py
-
curl -L -o file_Extensions.py https://huggingface.co/spaces/JavedA/master_Thesis/resolve/main/Code/file_Extensions.py
297 Bytes
| ''' | |
| convert all .tex extions to .md | |
| ''' | |
| from pathlib import Path | |
| cwd = Path.cwd(); | |
| writ_Fold = cwd/"Data/1_Writing" | |
| for iF,ct_File in enumerate(Path(writ_Fold).rglob('*.md')): | |
| # print(ct_File.name) | |
| # convert all .tex extions to .md | |
| ct_File.rename(ct_File.with_suffix('.qmd')) |