MCPcopy Create free account
hub / github.com/cztomczak/cefpython / check_versions

Function check_versions

examples/screenshot.py:93–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91
92
93def check_versions():
94 ver = cef.GetVersion()
95 print("[screenshot.py] CEF Python {ver}".format(ver=ver["version"]))
96 print("[screenshot.py] Chromium {ver}".format(ver=ver["chrome_version"]))
97 print("[screenshot.py] CEF {ver}".format(ver=ver["cef_version"]))
98 print("[screenshot.py] Python {ver} {arch}".format(
99 ver=platform.python_version(),
100 arch=platform.architecture()[0]))
101 print("[screenshot.py] Pillow {ver}".format(ver=PILLOW_VERSION))
102 assert cef.__version__ >= "57.0", "CEF Python v57.0+ required to run this"
103
104
105def command_line_arguments():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected