| 91 | |
| 92 | |
| 93 | def 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 | |
| 105 | def command_line_arguments(): |