Works on ipython