#๐Ÿ”’ Best Library for a Desktop App with Python as the Backend and HTML, CSS, JS as the Frontend

4 messages ยท Page 1 of 1 (latest)

idle goblet
#

Hello,

I'm trying to make a desktop app version of a small terminal app I made. The app prompts the user to copy text to the clipboard which it gets, compiles, then exports as a new row in a specified Google Sheets file. I included a picture of some sketches I drew of how I'm currently thinking the desktop app will work.
I want to use HTML/CSS/JS to make the GUI because I already know it and I also know how to use Flask to push data from Python to a webpage, but not to a desktop app. I've searched around online and found several libraries that are supposed to help with this, I wrote them in the bottom right corner of the picture, but in case it doesn't load, they're:

  • Eel (+PyInstaller(?))
  • Nicegui
  • PyWebView
  • Electron
  • PyQt
    I saw a Medium article from about 3 years ago detailing what it looked like I needed, but I saw a Reddit post from 2 years ago saying that Eel had stopped receiving updates, also it's connected to Electron, my second most-likely candidate, which doesn't work well on Linux or something? PyQt seems like the next best option, but I feel like it may be more pertinent to just ask the people here.
    So, yeah. Does anyone have a recommendation for a library that can connect a Python backend (maybe using Flask?) to a GUI made with HTML/CSS/JS to make a desktop app that can sit on top of a webpage?

Thanks in advance.

gloomy eagleBOT
#

@idle goblet

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

gloomy eagleBOT
#

@idle goblet

Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.