This commit is contained in:
parent
03024beac3
commit
6cb316ff01
@ -1,14 +1,12 @@
|
||||
from pathlib import Path
|
||||
import os
|
||||
import shutil
|
||||
|
||||
SNIPPETS_DIR = "./snippets"
|
||||
OUTPUT = "./output"
|
||||
|
||||
if __name__ == "__main__":
|
||||
output = Path(OUTPUT)
|
||||
shutil.rmtree(output)
|
||||
output.mkdir()
|
||||
output.mkdir(exist_ok=True)
|
||||
snippets_dir = Path(SNIPPETS_DIR)
|
||||
for snippet in snippets_dir.rglob("tpl_*.tex"):
|
||||
print(snippet)
|
||||
|
Loading…
Reference in New Issue
Block a user