list command explained in ipython notebook