Files
pywebview/examples/http_server.py
2019-06-20 17:03:48 +03:00

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)