Skip to content

Instantly share code, notes, and snippets.

View benevidesh's full-sized avatar

benevidesh

  • Manaus, Amazonas, Brazil
View GitHub Profile
@gkbrk
gkbrk / todograph.py
Last active December 30, 2023 18:11
Todo.txt to graph
#!/usr/bin/python3
import matplotlib.pyplot as plt
import datetime
def get_stats(filename):
data = {}
with open(filename) as todofile:
for line in todofile:
date = line.split()[1]
if date in data: