def check_python_version():
 if (sys.hexversion < 50593792):
  version_str = '.'.join(map(str, sys.version_info[:3]))
  text = (('At least Python 3.4 is required to run qutebrowser, but ' + version_str) + ' is installed!\n')
  if (Tk and ('--no-err-windows' not in sys.argv)):
   root = Tk()
   root.withdraw()
   messagebox.showerror('qutebrowser: Fatal error!', text)
  else:
   sys.stderr.write(text)
   sys.stderr.flush()
  sys.exit(1)

def check_python_version ( ) : if ( sys . hexversion < 50593792 ) : version_str = '.' . join ( map ( str , sys . version_info [ : 3 ] ) ) text = ( ( 'At least Python 3.4 is required to run qutebrowser, but ' + version_str ) + ' is installed!\n' ) if ( Tk and ( '--no-err-windows' not in sys . argv ) ) : root = Tk ( ) root . withdraw ( ) messagebox . showerror ( 'qutebrowser: Fatal error!' , text ) else : sys . stderr . write ( text ) sys . stderr . flush ( ) sys . exit ( 1 )
checks if python version is supported by cuckoo .