An IPython tutorial of sympathetic cooling