Forums

Running background and foreground tasks simultaneously

How do I get around to running a file(stream.py, Tweepy) from my web-app in the background and another(app.py, dash-Flask) that renders the front-end and updates it with data from the database being populated by the background task(running 24/7, everyday)?

You can update your database with https://help.pythonanywhere.com/pages/AlwaysOnTasks/ but it works only with a paid account.