introduce interlude, a package which gives you an interactive python shell from within doctests