Questions tagged [eel]

A little Python library for making simple Electron-like HTML/JS GUI apps.

152 questions
0
votes
2 answers

How do I open a new HTML page with eel (python library)?

I've just started learning all programming thing and came across this python library "eel" where you can create a decent GUI out of HTML. However, there are not many tutorials available or decent example projects available out there to study from.…
0
votes
1 answer

Returning Array from Python to Javascript

I was trying to return an array of data from python function to Javascript. I am using eel python module. The python function returns a string with ease, but when I tried to return an array object, it returns nothing to javascript. Here is the…
0
votes
1 answer

File OnChange method when called second time it takes the previous file which is selected first Time

I am using Eel package of python that help me to integrate Html/CSS/js with python so I am dynamically generating Html tags via JS based on input in a python file basically it's a chatbot and UI of that chatbot is created by Html/js main.js that…
4nkitpatel
  • 148
  • 2
  • 12
0
votes
1 answer

Pressing any button would just return me Error: 405 Method Not Allowed

I am new to using eel. Trying to create the front end for a app whose backend i already developed with python. However pressing any button would return me Error: 405 Method Not Allowed I am trying to bring up a file dialogue when a certian button is…
user12140050
  • 109
  • 1
  • 1
  • 7
0
votes
2 answers

How do I get an array out of a function?

I am using eel in python to run a html frontend and want to display a graph with data from python. For this I need to get my data, which I already formated for js in python. (I don't have a lot of experience with js) I can't figure out a way to…
0
votes
1 answer

Update data from firebase without refreshing when using Python Eel

i am trying to make a firebase python program with gui using python eel. but if the data in firabase got updated, then the javascipt need to refresh the page to get the new data from firebase in a realtime. the problem is python eel will stop the…
ucup
  • 665
  • 6
  • 17
0
votes
2 answers

Return Python function onto Chrome console

I am trying to return a function from Python onto google chrome console using eel in Python. This is the current code I have: Python import eel eel.init('web') print("Start") @eel.expose def my_python_function(a, b): print(a,…
user11294454
0
votes
1 answer

Getting file not found error when trying to load eel.js

I'm currently writing a simple GUI in html/python using eel. Unfortunatly, although having directly copied it from the official tutorial, i get the error "GET file:///C:/eel.js net::ERR_FILE_NOT_FOUND" when I'm trying to load eel.js. My header looks…
GreenJoFlo
  • 33
  • 7
0
votes
2 answers

Gevent functions aren't running asynchronously

In this Gevent tutorial it goes over how to spawn multiple threads to run asynchronously. import gevent import random def task(pid): """ Some non-deterministic task """ gevent.sleep(random.randint(0,2)*0.001) print('Task %s…
Clay Records
  • 464
  • 6
  • 18
0
votes
2 answers

Electron window will not minimise or close

I am building an electron app with the use of eel as well, although I am not sure that is relevant here. I recently came back to this project, and I'm sure it was working before. Everything works except for the minimise and close buttons which are…
J P
  • 541
  • 1
  • 10
  • 20
0
votes
1 answer

Python Eel cant be installed

I was trying to install eel using pip install eel but I get an error of C:\Users\USER>pip install eel Collecting eel Using cached Eel-0.7.0.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): …
Reub
  • 665
  • 2
  • 18
  • 35
-1
votes
1 answer

Pyinstaller : .exe file doesn't work the same way as in IDE

I have written a python script, using eel for the GUI, that converts & does some calculations on files in a folder. For this, i am using a python library called asammdf. The code works well in an IDE but when i use pyinstallerand create a .exe file…
Suprava
  • 69
  • 6
-1
votes
1 answer

How to pass dropdown value from JavaScript to Python using Eel correctly?

I am creating a GUI using Python Eel. In this UI I have a drop down. user will select the value of dropdown and submit and that dropdown value will reflect in Python console. But I am unable to receive value from JavaScript. This is my Python…
James
  • 1,124
  • 3
  • 17
  • 37
-1
votes
1 answer

is there a way to use eel functions in

So I am trying to make a clock using python and the eel library. I know i can easily make a clock using only JS and HTML, Im learning the eel library. I tried implementing a simple clock with python returning the value back to the html and html…
-1
votes
1 answer

when i was trying to install eel this error appers

ERROR: Command errored out with exit status 1: command: 'c:\users\hp\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] =…
Devanshu
  • 9
  • 3
1 2 3
10
11