【文件属性】:
文件名称:webview-python:Python绑定到Webview
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-15 11:46:45
Objective-C
网页浏览
为库提供API的Python扩展。
入门
安装绑定:
pip install webview
请尝试以下示例:
import webview
w = webview . WebView ( width = 320 , height = 240 , title = "Hello" , url = "https://google.com" , resizable = True , debug = False )
w . run ()
您可以使用大多数Webview API:
# Change window title
w . set_title ( "New title" )
# Make window fullscreen
w . set_fullscreen ( True )
# Change initial window background color
w .
【文件预览】:
webview-python-master
----MANIFEST.in(14B)
----webview()
--------webview.c(8KB)
--------webview.h(64KB)
----setup.py(1KB)
----README.md(1KB)