code: def tkinter_clipboard_get():
      """Get the clipboard's text using Tkinter.
  
      This is the default on systems that are not Windows or OS X. It may
      interfere with other UI toolkits and should be replaced with an
      implementation that uses that toolkit.
      """
      try:
          from tkinter import Tk, TclError  # Py 3
      except ImportError:
          try:
              from Tkinter import Tk, TclError  # Py 2
          except ImportError:
              raise TryNext(
                  "Getting text from the clipboard on this platform "
                  "requires Tkinter."
              )
      root = Tk()
      root.withdraw()
      try:
          text = root.clipboard_get()
      except TclError:
          raise ClipboardEmpty
      finally:
          root.destroy()
      text = py3compat.cast_unicode(text, py3compat.DEFAULT_ENCODING)
      return text
  
file_path: catboost/contrib/python/ipython/py2/IPython/lib/clipboard.py
imports: import subprocess
  from IPython.core.error import TryNext
  import IPython.utils.py3compat
label_desc: Use image node_id 3 for calling a global function with example usage: tkinter_clipboard_get() and returns: text