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())