A little Python library for making simple Electron-like HTML/JS GUI apps.
Questions tagged [eel]
152 questions
0
votes
1 answer
problem with dropdown filter in HTML table
There is a table which is loaded from a DB. I wanted to make a dropdown filter for each column, but it gives an error.
HTML

Alex
- 1
- 2
0
votes
0 answers
Process keeps running after app is closed only if a window has been opened
I have an app that has a main window made with Eel. From it, with a button, you can call another script ("open_dragAndDrop()" function), where PyQt5 was used, which opens a new window where you can drag and drop files inside, showing a list of all…

Agusms
- 17
- 4
0
votes
1 answer
Python EEL + wxpython: open "parentless" file dialog in front of all other windows and programs
I am developing an EEL project, and I needed to create a file dialog on the python side in order to preprocess data before sending it to javascript.
I tried to use tk.filedialog.askopenfilename, but that somehow froze the javascript event loop.
I…

Michael Sohnen
- 953
- 7
- 15
0
votes
1 answer
Some error with code on Python, JavaScript, HTML and CSS
I'm learning JavaScript and Python and I wrote a code that creates a file and enters information into it. But the recv_data function does not work - the file is not created. What should I do? The code will be below.
Python
import…

Black_ Eye
- 1
- 1
0
votes
2 answers
eel cannot find Google Chrome
import eel
eel.init('web')
eel.expose
def Something():
return "hhaa tf"
eel.start("index.html")
I am trying to use eel to display a thing and it is giving me the OSError that it cannot find Google Chrome or Chromium. I am running this in…
user19222567
0
votes
0 answers
Can I create a new window with python eel using an html string instead of an html file path
TLDR: Can I create an eel window without having an html file, and instead just use a string containing the HTML to display? So that I could call eel.start("STRING_OF_HTML") instead of eel.start(PATH_TO_HTML_FILE)
I am creating a python eel…

Dan
- 67
- 6
0
votes
1 answer
PYInstaller and Eel not recompiling cleanly
I am using a package called Eel to build desktop GUI applications. I am trying to create an executable on windows 11 with the built in command that uses PYInstaller to create an executable.
python -m eel main.py web/ --onefile --noconsole --clean…

AugustusCaesar
- 175
- 2
- 14
0
votes
0 answers
"Only one usage of each socket address is normally permitted" error when creating new Eel window in python
I am making an application using Eel for python, and it currently is a page with a button that opens up a second page. The first page is using port 8000, and when I open the second page I receive a message due to 8000 being in use. I have copied the…

Dan
- 67
- 6
0
votes
0 answers
“Containerize” a eel output inside a cell of a Gtk Gride
I have a Gtk Application using Grid shape to structure widgets, but in one Grid's cell I want to put the rendering of an eel process, like if the eel rendering was a widget.
So, eel just bring the eel.start() command witch launch an independent…

fauve
- 226
- 1
- 10
0
votes
0 answers
How to pass file from JS to Python eel
I am having the user input a file for the frontend. I want to grab the file from the html with js and pass it to Python eel to do calculations with it. How can I make this happen?
html
JS
let uploadedFile =…

AugustusCaesar
- 175
- 2
- 14
0
votes
1 answer
Eel - ask for directory input
I am developing modern-looking local app in Python with Eel and I want to open OS's default dialog to select directory. But I have found that Eel does not provide that.
I have tried:
dialog from HTML/JS, but browser provides just dialog for file/s…

Foreen
- 369
- 2
- 17
0
votes
0 answers
python eel - and 404 when block=False
Just looking a bit into the idea of python and eel - and got somehow a strange behavior by trying around the callbacks and expose'es.
Well - I put out all my code with feedbacks and came back again to the basic level. But the behavior is still…

robmeg
- 1
0
votes
2 answers
ModuleNotFoundError: No module named 'eel'
I got a problem while importing 'eel', I reinstalled Python and updated it to newest version, and did 'pip install eel' but still nothing works for me, it just says:
"ModuleNotFoundError: No module named 'eel'
I am installing it on command prompt.

3epo
- 1
- 3
0
votes
1 answer
Python application using eel "unable to connect" to localhost on startup
I am trying to create a python application while using eel to create a user interface in html. My operating system is Ubuntu Linux and I'm using Firefox to display the web interface.
The problem I'm having is every time I run the python code,…

JayFou
- 1
- 2
0
votes
0 answers
'object promise' using eel and js
This is my js function:
async function get_days() {
var events = await eel.get_events('ofek')();
var eve = events[0]['event_name'];
alert(eve);
startPoint = new Date(year, month - 1, 1).getDay(); // 0=Sunday
…

ofek tal
- 21
- 3