Note that IPython will let you log all of your commands, either in the notebook or just the terminal. What I'm thinking of would be a consistent logging framework that is used by all scripts.