Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否可以用 wxPython 实现一个非常简单的网络浏览器,我知道你可以使用wx.html.LoadPage()函数,但它不能很好地工作,我想要一个基本的独立/浏览器,就像下面的代码(图片链接)用有pyjd.setup()功能的睡衣
wx.html.LoadPage()
pyjd.setup()
然后,您需要查看 HTML2_WebView 小部件。它是跨平台的,应该适用于大多数网站。wxPython 演示中有一个示例。请注意,它是 wxPython 2.9 中的新功能。您可以在文档中阅读有关它的更多信息:
或者查看以下链接以获取另一个示例: