Closed letv3 closed 4 years ago
Hi @letv3 - welcome :) No silly questions.
To your first point about PyCharm saying "eel.js" can't be found - this is "normal". eel.js
isn't a file in your system and Eel creates that file and returns it for you when a user hits the /eel.js
endpoint.
To the second point, please see https://github.com/samuelhwilliams/Eel#synchronous-returns. I think you should update your code to be: var res = eel.get_password(password)();
- note the important extra ()
at the end.
Thank You very much, I am sorry for my inattention, have a nice day)
Happy to help! I think we need to make our documentation clearer and easier to read, so it's our fault not yours.
Hope you enjoy Eel. :)
Why I can not run exposed python functions in my js file? Hi, I am new to eel and Python, but I found it interesting to try to make a small app via eel, but I encountered a problem with accessing a written python functions in my js file.
I writing in PyCharm and it does not detect /eel.js I think thats might be a problem, but I am not sure
(Html page runs ok)
My file Structure
Code snippet(s)
Javascript
I understand thats might be a dumb question, but I want to understand why its not working
thank you for reply
Desktop (please complete the following information):