code: def qtconsole():
      
      connection_file = os.path.join(tempfile.gettempdir(),
                                     f'connection-{os.getpid()}.json')
      p = multiprocessing.Process(target=launch_qtconsole,
                                  args=(connection_file,))
      try:
          p.start()
          embed_kernel(local_ns=_get_shell_ctx(),
                       connection_file=connection_file)
          p.join()
      finally:
          try:
              os.unlink(connection_file)
          except OSError as exc:
              if exc.errno != errno.ENOENT:
                  raise
docs: Starts qtconsole in the app context. **!!EXPERIMENTAL!!**
  
      Only available if ``Ipython``, ``PyQt5`` and ``qtconsole`` are installed.