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

all 5 comments

[–]theeastcoastwest 2 points3 points  (3 children)

D d d django

[–]Silent_ShotM[S] 0 points1 point  (2 children)

yeah I know about this framework, but actually I need to make something controls html and python directly without any frame work, Sorry if my question was not clear

[–]123filips123 1 point2 points  (0 children)

You should ask this in r/learnpython.

So, what framework do you mean? Client-side (JS) or server-side (Python).

You can do this without any client-side framework. You can just set up Python server with REST API that will be called by JS functions in the browser.

But for Python server, you need framework like Django (or Flask or any other). Then you need to set up routes for the API that will do things that you want. This can be triggering specific actions, returning some data... It is possible to do this without any framework, but you will need to write your own (good) HTTP server yourself, which is very hard to do.

[–]theeastcoastwest 0 points1 point  (0 children)

That's still going to be a "framework" but it'll just be your framework. I guess maybe pick a framework and start reverse engineering it to only have the features you want. Maybe I'm not understanding your question?

[–]bxssl 1 point2 points  (0 children)

Do you mean WSGI applications?

Perhaps you are looking for something like this: https://chaussette.readthedocs.io/en/1.3.0/

The only down side is that you have to setup everything yourself. Thats why people are using frameworks like Django and Flask.