Conversation

What’s the simplest way to turn a Python script (text input, text output) into a single-page web app? Ideally without standing up a server and web framework and crap? And super-ideally, image in output and stripe payment to see output. No notebooks like Jupiter/Collab.
25
38
Replying to
if it is a web app, you need a web server that will, upon getting a URL, run your script and return a response. i use pythonanywhere for that. once you have a webserver running, you can add more one page apps to it. in JS, you can just run the page locally.
1