简体   繁体   中英

Displaying output on browser with Python + Flask

编辑:最终使用内置的render_template函数使用Jinja2标记显示输出,事实证明这是一个完美的解决方案。

Flask is a process and will keep running forever, unless it encounters a fatal exception.

Typically, a web server process exiting would be a terrible design.

Try this for the functionality you want: How to stop flask application without using ctrl-c

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM