M
M
mr_forlife2021-04-12 20:46:06
Python
mr_forlife, 2021-04-12 20:46:06

How to link eel and jinja2 libraries?

There is an idea to write a GUI for one small project in python. I want to practice HTML + CSS + JS at the same time, so the choice fell on the EEl library. Documentation on it is extremely scarce. Where can I see code samples? Specifically interested in the use of Jinja2 templates.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Karbivnichy, 2021-04-12
@hottabxp

1) - Eel docs
2) - Jinja 2.11 docs
Next add these 2 points and get the result. If it doesn't work, then go back to learning Python. There is nothing supernatural in these libraries.

E
Eugene, 2021-05-23
@Eisenshof

https://github.com/ChrisKnott/Eel/tree/master/exam...
But there seems to be no way to pass values ​​to variables in the jinja template.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question