my ipython example code