A simple diary in Python