training ipython notebook for K-lab