mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-11-30 10:58:50 +00:00
10 lines
276 B
Python
10 lines
276 B
Python
import webview
|
|
|
|
|
|
"""
|
|
This example demonstrates how to use a built-in http server to serve local files
|
|
"""
|
|
if __name__ == '__main__':
|
|
webview.create_window('My first HTML5 application', 'assets/index.html', text_select=True)
|
|
webview.start(http_server=True, debug=True)
|