Reputation: 8620
Maybe my question is stupid but I still want to ask.
I am always wondering whether I can use Python, HTML and Css to develop a desktop software. I know there are alrealy several good GUI frameworks like Qt, Tk and etc. But the various sources of HTML and JS frameworks are still attractive to me. I don't mean a software which is just like a web application where there is a frontend and Python acts as a server side language either. I mean use Python like other GUI frameworks. I can create widgets built by HTML and Css.
Dose there any framework have this function? I know there is app.js for Javascript. Or what I think is wrong.
Upvotes: 6
Views: 5977
Reputation: 480
CEFPython allows this by embedding the Chromium browser and providing python bindings to it: https://code.google.com/p/cefpython/
~: python example.py
brings up:
Upvotes: 1
Reputation: 862
Look at pyjs.
pyjs is a Rich Internet Application (RIA) Development Platform for both Web and Desktop. With pyjs you can write your JavaScript-powered web applications entirely in Python.
Upvotes: 1