preparing ipython notebook for python training