def run(self, no_ipython):

        context = self.get_context()
        if not no_ipython:
            try:
                import IPython
                sh = IPython.Shell.IPShellEmbed(banner=self.banner)
                sh(global_ns=dict(), local_ns=context)
                return
            except ImportError:
                pass

        code.interact(self.banner, local=context)
Sets up the tree state for ``node`` (which has not yet been
dataset/ETHPy150Open danjac/Flask-Script/flaskext/script.py/Shell.run--crossover with--dataset/ETHPy150Open agiliq/django-socialnews/socialnews/mptt/managers.py/TreeManager.insert_node