code: def add_imports():
      
      text, ok = QtGui.QInputDialog.getText(None,
                                            'Add Import',
                                            'Enter an import line to add (example: from os import path or os.path):')
      if ok:
          sort_kate_imports(add_imports=text.split(";"))
docs: Add Imports