Forums

Simple way to create progress pages/bars in Flask

Normally it'd be done using threads but since PythonAnywhere doesn't support threads, is there a good and simple way of creating a progress page/bar? Using the CSS/JS trick using a form button doesn't work as the query starts as soon as the page is loaded rather than a form button. I'd also like to avoid complicated websocket stuff.

I do not know what is the operation you want to show the progress of, but it looks like https://help.pythonanywhere.com/pages/AsyncInWebApps/ could help.