leet
leet

Reputation: 128

Displaying output on browser with Python + Flask

edit: Ended up using the built-in render_template function to display output using Jinja2 markup, which proved to be a perfect solution.

Upvotes: 0

Views: 605

Answers (1)

John
John

Reputation: 2480

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

Upvotes: 2

Related Questions