I have been recently into python and how it manages to do so well in back-end tasks. BUT, there is a thing I haven't figured it out yet: how can I host a website and a running script at the same time using python?

I did a web app using flask, but I don't know how can I host it as a normal website and, at the same time, a script is running in back-end and sending information to the website.

I tried Google Compute Engine but it only runs the script and hosts the website on itself (localhost).

Does anybody know a solution ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.