diff --git a/todo.py b/todo.py new file mode 100644 index 0000000..35005fd --- /dev/null +++ b/todo.py @@ -0,0 +1,11 @@ +from printer import p +from datetime import datetime + +with p: + p.title(" TODO List ", size=4) + p.subtitle(datetime.today().strftime("%Y-%m-%d")) + p.ln() + + with open("/home/infinidoge/TODO.txt", "r") as f: + for line in f.readlines(): + p.textln(line.replace("- ", "[ ] ").rstrip())