Published by Space Catitude 🚀

published

Space Catitude 🚀's Post


I'm going to ask a question, and I hope I won't regret it.

I'm not really a programmer by trade, but I do know several languages (or did, once). The only one I use regularly is Python, though, so I've preferred that.

But I need to create a UI with HTML and then do callback code on links from the HTML.

I've tried a few different ways to do that with Python, none satisfactory.

[1/5]


Likes: 0
Boosts: 0
Hashtags: #askfedi #python #javascript #nodejs #programming
Mentions:

Comments

Displaying 0 of 1 comments

John_Newall

In response to this post

@TerryHancock (I'm posting as I'm intrigued by the problem, I don't have a solid solution) ...that said, sounds like you want (need?) to use html for your python app's UI? I see you've investigated WebKit, maybe it's possible to access _just_ the render engine component? Looks like Blink is a forked project that fits the description.


@john_newall

Yeah, that's basically the idea I was working with.

I'm still fishing around for the right approach on this project.

Following some web searches just now, one path might be to use wxpython with wxWebConnect, which wraps the Gecko engine (which is the old Firefox web engine, prior to Quantum).

Blink, of course, is the engine in Chromium. It looks like MBPython might provide a way to work with that.

github.com/lochen88/MBPython

by Space Catitude 🚀 ;

Mentions: @TerryHancock@realsocial.life


Likes: 0

Replies: 1

Boosts: 0