Questions tagged [eel]

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

152 questions
0
votes
0 answers

"Why isn't Eel saving the input data to the database when I fill out the HTML modal input and click the save button?"

I'm using Eel to save data to a database. I have an HTML modal with input fields, and I'm trying to save the data to the database when the user clicks the save button. However, when I fill out the input fields and click the save button, the data is…
0
votes
0 answers

Python Eel how to kill loop which is running for minutes

I have made a Python program which has an Eel frontend. The backend of this program is used for operating a robot. The robot is picking up objects from a tray, put it into a lasermachine, waits for lasermachine and put the object back to tray and so…
michel3vb
  • 71
  • 1
  • 7
0
votes
1 answer

Python Eel : How to set User Interface (UI) to full screen when executed

I have been trying to set my GUI to full screen when executed but haven't been able to find a solution yet. My code -- import eel import io import sys stream = io.StringIO() sys.stdout = stream sys.stderr = stream eel.init(".") @eel.expose def…
Suprava
  • 69
  • 6
0
votes
0 answers

Eel Python : VS code isn't printing anything when button is triggered

I have been trying to print hello world on the VS code terminal when my button is pressed. The javascript code takes the input from an HTML button and passes to python through Eel my HTML code…
Suprava
  • 69
  • 6
0
votes
0 answers

App build with eel framework not working on UI

I built the interface of a python script that sends sms using an api, it works normally but quad I try to send a message from the interface nothing happens, here is my code This is main.py file import eel import os from twilio.rest import Client…
0
votes
0 answers

Building eel script exe with pyinstaller gets closing python console in few seconds

I am trying to create an executable (exe) file using PyInstaller library for my code that uses eel. EDIT: I fix that issue by reinstalling pyinstaller I did not receive any errors while building the exe file using the command "python -m eel main.py…
golfinLP
  • 1
  • 1
0
votes
0 answers

Building one file eel python aplication with pyinstaller

After building distributable binary with PyInstaller python.exe -m eel --onefile c:\Users\Darek\PycharmProjects\eelTest\web\ c:\Users\Darek\PycharmProjects\eelTest\eelTest.py When I try run app I got this error Failed to extract…
ssnake
  • 365
  • 2
  • 14
0
votes
1 answer

Python Eel does not return correct value

I'm making a desktop program with Python Eel. I'm having a trouble. My code is very simple. main.py: import sqlite3, eel eel.init('UI') @eel.expose def get_data(): return "I got it" eel.start('index.html') index.html:
burak
  • 109
  • 2
  • 8
0
votes
0 answers

Eel Python : how to return loop values from python function to JavaScript

I have been trying to return loop output from my python function to java-script using eel library. My eel code - import eel eel.init(".") @eel.expose def login_details(login_email,login_pass): for i in range(10): return(i) …
Suprava
  • 69
  • 6
0
votes
1 answer

Call eel object with TypeScript

I want to call a function using eel that isn't available before the program runs. With plain JS it works just fine, I need some workaround or something similar for TS. Python file import eel eel.init('web', allowed_extensions=['.js',…
Rafael
  • 11
  • 3
0
votes
0 answers

PyInstaller to .exe error when opening app. NoneType has no attribute write

Everything works well when i run the script using python but once i package it as an exe no output errors are found until i open the app and it crashes with: Failed to Execute script "Xtrarim" due to unhandled exception: NoneType object has no…
MrGill
  • 1
0
votes
0 answers

Pycharm or EEL timing out?

I'm writing a Python program in Pycharm and using Eel for an HTML front end. The problem I'm encountering is that my program runs fine and does what it's supposed to do BUT one of my functions takes about 2 hours to run and once it's done, the…
JayFou
  • 1
  • 2
0
votes
0 answers

How can I keep the application running when I close the EEL window?

I need to make it so that when the EEL window closes, the program can continue working in the background.
0
votes
2 answers

Can't access javascript function from python through eel

I've been trying to learn the basics of Eel through their documentation. I struggled learning how to trigger a javascript function through python so I tried to download their Hello World example straight from their github. You can open it here. But…
Tim
  • 155
  • 1
  • 11
0
votes
1 answer

Storing data from python to a variable in Javascript using eel

I am making a small application using eel, and part of the application's functionality requires it to read data from a text file and store it as a variable within javascript. The issue I am having is, when I try to assign the text to a variable, the…