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

Function check_versions

examples/tutorial.py:80–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79
80def check_versions():
81 ver = cef.GetVersion()
82 print("[tutorial.py] CEF Python {ver}".format(ver=ver["version"]))
83 print("[tutorial.py] Chromium {ver}".format(ver=ver["chrome_version"]))
84 print("[tutorial.py] CEF {ver}".format(ver=ver["cef_version"]))
85 print("[tutorial.py] Python {ver} {arch}".format(
86 ver=platform.python_version(),
87 arch=platform.architecture()[0]))
88 assert cef.__version__ >= "57.0", "CEF Python v57.0+ required to run this"
89
90
91def html_to_data_uri(html, js_callback=None):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected