mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-04 17:16:54 +00:00
10 lines
239 B
Python
10 lines
239 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', 'index.html')
|
|
webview.start(http_server=True)
|