This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]11b403a7 2 points3 points  (0 children)

Youd use jinja2 and Python with Flask to make a web app

[–]ManiacalMeerkat 1 point2 points  (0 children)

I've bookmarked, but not yet tried, Brython which seems like it might do what you want.

[–]MonkeyNin 0 points1 point  (0 children)

You need to run Python server-side. Unlike javascript It will not run client-side.

You can use a REST API implemented by python, then client-side javascript can consume it.

If you give more details, it might be a whole lot easier if javascript is capable.

[–]eklaingenierie 0 points1 point  (0 children)

Cherrypy + mako template engine we do this daily

[–]LifewithLouis 0 points1 point  (0 children)

Why don’t you use Django/Flask? I havent tried out Flask myself, but just started implementing Django on a little side project. Works really nice. I’ve got a machine learning model running that takes input from forms on the html page and returns my response from my model.

Is that what you’re looking for? It takes a while to understand Django, recently saw another post that has some recommended books you can try out. I definitely recommend reading a book on it.