diff options
author | Jaro <jarorutjes07@gmail.com> | 2024-09-05 15:31:27 +0200 |
---|---|---|
committer | Jaro <jarorutjes07@gmail.com> | 2024-09-05 15:31:27 +0200 |
commit | 9629228f27b9585a83053f028952945f156cefbc (patch) | |
tree | 28f7fff4ca54f8df07a9b606e5fd427659551dc3 /time2tex.py | |
parent | 441e03b613064552d8ab11a6a7eacf6d66d5b999 (diff) | |
parent | c129df28338644c43b0a202ff71e1ff61107e765 (diff) |
Merge branch 'master' of github.com:lonkaars/crepe-docs into jaro/project-plan
Diffstat (limited to 'time2tex.py')
-rwxr-xr-x | time2tex.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/time2tex.py b/time2tex.py new file mode 100755 index 0000000..3244b8f --- /dev/null +++ b/time2tex.py @@ -0,0 +1,17 @@ +#!/bin/python3 +import sys + + +if __name__ == "__main__": + if len(sys.argv) != 2: + print("usage: time2tex <input>") + exit(1) + + input_file = sys.argv[1] + content = "" + with open(input_file, "r") as file: + content = file.read() + parsed = parse(content) + + + |