MCPcopy Create free account
hub / github.com/EASY233/Finger / python_check

Method python_check

lib/checkenv.py:21–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 self.update()
20
21 def python_check(self):
22 if self.pyVersion < "3":
23 logging.error("此Python版本 ('{0}') 不兼容,成功运行程序你必须使用版本 >= 3.6 (访问 ‘https://www.python.org/downloads/".format(self.pyVersion))
24 exit(0)
25
26 def path_check(self):
27 try:

Callers 1

__init__Method · 0.95

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected