【发布时间】:2018-07-04 11:20:11
【问题描述】:
我想用cefpython3创建一个简单的浏览器,在mac上我用这个代码
from cefpython3 import cefpython as cef
import platform
import sys
def main():
check_versions()
sys.excepthook = cef.ExceptHook # To shutdown all CEF processes on error
cef.Initialize()
cef.CreateBrowserSync(url="https://www.google.com/",
window_title="test")
cef.MessageLoop()
cef.Shutdown()
def check_versions():
assert cef.__version__ >= "55.3", "CEF Python v55.3+ required to run this"
if __name__ == '__main__':
main()
如何在 XP 上获得相同的输出(XP 仅支持 cepython31.2),请帮帮我
【问题讨论】:
标签: python windows-xp chromium-embedded