python-eel/Eel

Main application closes when eel web page is refreshed

开放

#581 创建于 2022年4月2日

 (1 条评论) (0 个反应) (0 位负责人)Python (570 个派生)batch import
help wanted

仓库指标

星标
 (5,980 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Main application is supported by flask. EEL Thread is started and web page pop-ups.Everything goes fine until user refresh eel web page. In this moment, main application stops.

import a import b import flask

def gui(): eel.start('index.html', size=(454, 440), port=8000, close_callback=close_callback, cmdline_args=['--disable-translate'])

eel.init('web')

#Flask app started ... app. run()

Thread(target=gui, daemon=True).start()

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser : Chrome
  • Version : N/A

贡献者指南