diff options
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) + + + |