code_hunter
code_hunter

Reputation: 113

How to create a HTML based layout GUI application in Python?

I'm on the search to create a standalone HTML layout based GUI application with CSS/JavaScript support in Python, which I could compile to a EXE file later.

I already tried that with the html2 module of the wxPython library. Unfortunately there was no way to bind Python functions to the HTML buttons or links.

The next I tried was using the WebKit module of the PyQt library where I got more features and an option to bind those buttons (just in old tutorials). But I wasn't conviced of the render quality in opposite to the html2 module.

The result should look like a Windows 8 Metro application ;)

My operation system is Windows 7 64 bit.

Upvotes: 0

Views: 994

Answers (2)

ham-sandwich
ham-sandwich

Reputation: 4050

I recommend you check out Tide. I have just finished building an application with it and I'm pretty happy. It's still in beta, but that is fine... I didn't come across any issues.

Upvotes: 2

Max
Max

Reputation: 1

You can try Flask or Django for server side and use a framework like Jinja 2 and JavaScript (Ajax) for client-server commumication.

Upvotes: 0

Related Questions