Files
pywebview/examples/http_server.py
2019-07-07 13:35:46 +03:00

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)