code: def d(self, depth=1):
          
          info = self.inspect.getframeinfo(self.sys._getframe(1))
          s = self.Stanza(self.indent)
          s.add([info.function + ': '])
          s.add([self.MAGENTA, 'Interactive console opened', self.NORMAL])
          self.writer.write(s.chunks)
  
          frame = self.sys._getframe(depth)
          env = frame.f_globals.copy()
          env.update(frame.f_locals)
          self.indent += 2
          self.in_console = True
          self.code.interact(
              'Python console opened by q.d() in ' + info.function, local=env)
          self.in_console = False
          self.indent -= 2
  
          s = self.Stanza(self.indent)
          s.add([info.function + ': '])
          s.add([self.MAGENTA, 'Interactive console closed', self.NORMAL])
          self.writer.write(s.chunks)
docs: Launches an interactive console at the point where it's called.