saving changes from iPython notebook