[beginner] Choosing the right tool for a web-based GUI - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: [beginner] Choosing the right tool for a web-based GUI (/thread-18023.html) |
[beginner] Choosing the right tool for a web-based GUI - johsmi96 - May-03-2019 I have to confess that so far I only used python for implementing libraries and tools I can run from the command line. Now I want to create something where the user interacts with a python process from a web browser. This could work in a similar way to jupyter notebooks. What would be most important for my purposes are:
Does something like that exist? Or does something exist that would make it relatively easy to implement the missing parts? If not, would it be possible to do this as a native (but portable to Windows, Linux, MacOS) desktop GUI solution, rather than a web GUI? What are your thoughts about this? RE: [beginner] Choosing the right tool for a web-based GUI - Weave - May-05-2019 You could look at Summernote for the text editing. Perhaps consider a single page web app and JSON-RPC for sending data back and forth between your UI and your Python functions. If you want a desktop style UI without having to struggle with HTML/CSS you could take a look at SpiderBasic RE: [beginner] Choosing the right tool for a web-based GUI - johsmi96 - May-08-2019 Thanks -- the Summernote widget is a good text editing solution, but it I think (maybe I am wrong) it is not easy to adapt it to what I need without massively changing its code since it does not expose an API for how to e.g. adapt a right click menu or change the menu options etc. The SpiderBasic solution looks like an interesting alternative to implement stuff in a web page, but it does not seem to have a rich text widget so one would have to implement that from scratch (or maybe somebody else already did). I guess what I need is a rich text widget that has a rich API to allow it to get modified/adapted to how I need it and then use JSON-RPC to send events back to python from there ... |