A simple journaling program in python