This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |