是否有用于python的webkit2模块?
我现在正在使用python webkit,但它缺少我需要的WebKitAuthenticationRequest。是否有python webkit2模块,或者是否有在旧webkit中进行身份验证的方法?您可以从是否有用于python的webkit2模块?,python,webkit,Python,Webkit,我现在正在使用python webkit,但它缺少我需要的WebKitAuthenticationRequest。是否有python webkit2模块,或者是否有在旧webkit中进行身份验证的方法?您可以从gi.repository模块(也称为PyGObject)获取webkit2 确保您有以下软件包: python gobject gir1.2-webkit2-3.0 然后,您应该能够使用WebKit2- from gi.repository import WebKit2 (请注意,
gi.repository
模块(也称为PyGObject)获取webkit2
确保您有以下软件包:
- python gobject
- gir1.2-webkit2-3.0
from gi.repository import WebKit2
(请注意,此模块适用于GTK+3)。看起来WebKit2适用于17.10,但在早期版本中是“WebKit”。。。并且模块不兼容。