code: def EnsurePythonVersion(self, major, minor):
          
          if sys.version_info < (major, minor):
              v = sys.version.split()[0]
              print("Python %d.%d or greater required, but you have Python %s" %(major,minor,v))
              sys.exit(2)
docs: Exit abnormally if the Python version is not late enough.