aboutsummaryrefslogtreecommitdiff
path: root/time2tex.py
diff options
context:
space:
mode:
authorJaro <jarorutjes07@gmail.com>2024-09-05 15:31:27 +0200
committerJaro <jarorutjes07@gmail.com>2024-09-05 15:31:27 +0200
commit9629228f27b9585a83053f028952945f156cefbc (patch)
tree28f7fff4ca54f8df07a9b606e5fd427659551dc3 /time2tex.py
parent441e03b613064552d8ab11a6a7eacf6d66d5b999 (diff)
parentc129df28338644c43b0a202ff71e1ff61107e765 (diff)
Merge branch 'master' of github.com:lonkaars/crepe-docs into jaro/project-plan
Diffstat (limited to 'time2tex.py')
-rwxr-xr-xtime2tex.py17
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)
+
+
+