
Код, который я использую для запуска сервера pywebview и создания окна:
Код: Выделить всё
webview.create_window(
"blah", #The title for the webpage
f"http://localhost:{port}",
width=1400,
height=900,
min_size=(800, 600),
on_top=False
)

Код: Выделить всё
webview.create_window(
"blah", #The title for the webpage
f"http://localhost:{port}",
width=1400,
height=900,
min_size=(800, 600),
on_top=False
)