A little Python library for making simple Electron-like HTML/JS GUI apps.
Questions tagged [eel]
152 questions
0
votes
0 answers
Can't install Eel with pip
I wanted to use auto-py-to-exe, and it needed Eel, because of the graphical interface.
whenever I try to install this happens:
ERROR: Command errored out with exit status 1: 'c:\users\regok\appdata\local\programs\python\python39\python.exe'…

reiner rego
- 15
- 4
0
votes
2 answers
How can I convert the python class str to dictionary in javascript
I have a data in python that is in this format
d1 = ["id":"hajdgrwe2123", "name":"john law", "age":"95"]
Python has it as data type " class 'str' ".
I am sending the data from python to javascript using eel so I want to convert the data to…

e.iluf
- 1,389
- 5
- 27
- 69
0
votes
1 answer
Python Eel - Javascript running prematurely
I am trying to learn to use the Python eel library. Specifically, I am attempting to call a Python function by clicking a button (that runs a JavaScript function).
In my folder I have four files, arranged like this:
|
+--- main.py
|
+--- web-gui
…

JS4137
- 314
- 2
- 11
0
votes
1 answer
Eel urllib request function returns null to JS, but value to python
I have the following Python code for Eel
import eel, urllib.request
@eel.expose
def python_function():
response = urllib.request.urlopen('http://google.com').read()
return(response)
eel.init('web')
eel.start('index.html', port=0)
Now when…

Jack
- 1,893
- 1
- 11
- 28
0
votes
1 answer
Javascript using Python function with eel
I'm in the process of making a chatbot program with Python and JavaScript. I use eel to make the UI for chatbot, but exposed function from python code can't be used in JavaScript Code.
Python Code
@eel.expose
def responsedMessage(message):
word…

Ryuhei
- 1
0
votes
3 answers
Error: 404 Not Found Sorry, the requested URL 'http://localhost:8000/main.html' caused an error: File does not exist
Everythink was going fine, but when I finish my code and tried to run then I got this error, what do you think what could happen. I use Linux Mint. The problem is with EEL module I think, when I run html code and go to console I can see GET…

Ali6464
- 43
- 1
- 5
0
votes
1 answer
Pass JavaScript Variable Value to Python with Eel
I have a python program using eel library to build a nice GUI.
In the GUI I have a variable within a JS function that I need to pass to Python to store in a variable.
Any ideas why this is?

Cyb3rR3ap3r
- 81
- 2
- 9
0
votes
1 answer
Electron NPM application cannot find file:///eel.js, but python can
I'm building a desktop application using Python, JS, HTML and CSS. I'm connecting python using eel. When I launch my desktop application through the python terminal, it works perfectly.
However, when I launch the app through electron via command…

HarrisAMA
- 37
- 7
0
votes
0 answers
Bottle and mod_wsgi "exit signal Segmentation fault (11)"
Tried to launch my bottle app in my apache, mod_wsgi docker container but I have these errors :
exit signal Segmentation fault (11)
My httpd.conf :
Transferlog /dev/stdout
LoadModule wsgi_module modules/mod_wsgi.so
WSGIPythonPath…

TheToto318
- 11
- 1
0
votes
2 answers
Would it be possible to make my Python App made using Eel a Website
I just finished making an eel application and I really like the module since it allows you to communicate with Javascript while using Python. I know that eel hosts a local server and basically uses chrome to make it like an app but I want to be able…

Ervin
- 75
- 1
- 10
0
votes
0 answers
EEL , OSError: [WinError 87] The parameter is incorrect
import eel
import time
eel.init('web')
@eel.expose
def getTime():
return "Hello World"
eel.start('main.html')
This is a simple program to return hello world in main.html file, I am using Windows 10 and generating the…
def getTime():
return "Hello World"
eel.start('main.html')
This is a simple program to return hello world in main.html file, I am using Windows 10 and generating the…
0
votes
3 answers
How to set minimum window size in eel python
I am using the eel python. When the window is in fullscreen, and I drag the title bar down (which should reduce the screen size), what happens is that the width becomes about 1 px; I can only see a very thin vertical line and sometimes it disappears…

Albert Francisco
- 3
- 4
0
votes
3 answers
Eel python: Javascript error eel is not a function
I am using eel to communicate with python. I'm working in dir C:\Users\Desktop\Eel where I have app.py and inside the UI folder I have index.html, myjava.js, style.css, images but nothing called eel.js. I said this because in docs it says to include…

hawaes
- 1
- 1
- 1
0
votes
2 answers
What if user with eel python doesn't have chrome installed
I want to create an offline app with web UI. I came to know about eel which is much simple than the Electron where I had to bring this node.js into the play.
But once I create a exe file with PyInstaller the issue for me is that, some users who…
user13494862
0
votes
1 answer
How to build a python script that can run with a web UI
I have a Python script that can create an excel file with information from the input given by user from the HTML UI I created with a few html pages, css and javascript. I need this to work offline and I need to distribute it to clients.
How can I…
user13494862