(self, arg)
interact

        Start an interactive interpreter whose global namespace
        contains all the (global and local) names found in the current scope.
interact
interact
def do_interact(self, arg):
        """interact

        Start an interactive interpreter whose global namespace
        contains all the (global and local) names found in the current scope.
        """
        ns = {**self.curframe.f_globals, **self.curframe_locals}
        code.interact("*interactive*", local=ns)
def do_interact ( self , arg ) : ns = { * * self . curframe . f_globals , * * self . curframe_locals } code . interact ( "*interactive*" , local = ns )