def run_pylint_gui():
 try:
  from pylint.gui import Run
  Run(sys.argv[1:])
 except ImportError:
  sys.exit('tkinter is not available')

def run_pylint_gui ( ) : try : from pylint . gui import Run Run ( sys . argv [ 1 : ] ) except ImportError : sys . exit ( 'tkinter is not available' )
run pylint-gui .