Problems Installing Jinja
I have been trying to install Eel's support for Jinja templates using Python 3.10.0, 3.10.16, and 3.12 using the command: pip install eel[jinja2]; however, I always get a message saying "Not matches found". What can be wrong ?
You can create desktop python/JS/html applications without eel by simply using PyQT6. Here are several examples: https://github.com/non-npc/Serverless-Desktop-Python https://github.com/non-npc/Desktop-Javascript-Python-GameDemo
You can create desktop python/JS/html applications without eel by simply using PyQT6. Here are several examples: https://github.com/non-npc/Serverless-Desktop-Python https://github.com/non-npc/Desktop-Javascript-Python-GameDemo
@non-npc Thank you. Interesting. Do you know if there is a PySide equivalent?
PySide6=PyQT6, its basically the same thing
PySide6=PyQT6, its basically the same thing
This seems more complex than trying to use eel. I wish there were a simple tutorial...
you have main.py which loads your html and displays it, in the main.py you have methods which receive data from the frontend javacsript and tell it what to do and vice versa. its simple.
PySide6=PyQT6, its basically the same thing
This seems more complex than trying to use eel. I wish there were a simple tutorial...
If you look at main.py here https://github.com/non-npc/Desktop-Javascript-Python-GameDemo/blob/main/main.py
The "class Backend(QObject)" holds all the pyqslot methods which are methods you define and call in the javascript code of the html page. So for example to save the game, you call the save_game method which grabs the javascript data from the webview and saves it.