Questions tagged [eel]

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

152 questions
4
votes
1 answer

Get directory path in HTML on localhost with python eel?

I am creating a GUI application that requires the path to folder that user selects. I am using eel library of python to achieve the GUI with HTML, CSS and JS. I just want the path to the folder, I don't want the files in that folder to be…
3
votes
1 answer

How to pass selected file path to python script via javascript

I'm using eel to create a simple but clean GUI to my project. In this project, I have a custom database which I pickle/update/unpickle when needed. From local webserver, I select the file and click the submit button. Then I pass the file directory…
nizarcan
  • 505
  • 3
  • 15
3
votes
1 answer

Sending data from Python to Javascript using EEL

I am trying to send data from python to Javascript using EEL and their documentation and it does not seem to work... I keep getting null in my html / js page. Here is what I have. Basically I want to get the link of the BING wallpaper and use it in…
FBK
  • 52
  • 5
  • 20
3
votes
1 answer

Python3 / JS - How do I handle local file uploads with eel?

I am currently working on a local Electron-like software with Eel. This software is intended to be bundled as a standalone Windows application that needs to run on the user's local machine. Within this software I want to be able to select and work…
Nootaku
  • 217
  • 3
  • 14
2
votes
1 answer

Error when packaging eel project to an exe

I am building an python project with Eel, and I'm trying to package my program to an exe with PyInstaller as instructed in the documentation. However, I get the following error when I open the .exe: Error Traceback (most recent call last): File…
Tim
  • 155
  • 1
  • 11
2
votes
3 answers

Why my packaged eel app failed to execute : AttributeError: 'NoneType' object has no attribute 'write'

I keep getting this error when trying to execute my app.exe ( generated with python -m eel [your_main_script] [your_web_folder] --onefile --noconsole) My code is too long to post here. Here is the full unhandled exception thrown where tempting to…
2
votes
0 answers

Eel server crashes when computer sleeps

I'm using Eel version 0.14.0 Whenever I'm running an eel project, once the computer sleeps and I eventually turn it back on, I've found that the command window has closed and when I reload the page, I get the error localhost refused to connect. This…
CartClash
  • 45
  • 3
2
votes
2 answers

Python Eel: "Access Denied"

I'm trying to use Eel to make a simple application, but when I run this simple code: import eel from os import getcwd eel.init("web") eel.start(getcwd() + "\\main.html") It gives me this error: If it's important, here is the html code, just a…
Fun840
  • 107
  • 1
  • 7
2
votes
2 answers

How to use Jinja2 template in eel python?

I want to create an desktop application in python, so I started using the eel library to easily design a nice looking GUI application using html, css & javascript. I have the following code in which I have imported the eel module and started the…
Ajay Lingayat
  • 1,465
  • 1
  • 9
  • 25
2
votes
1 answer

Display python result in html using JavaScript | python eel

I want to send result to JavaScript to display the result in html using eel. I'm adding the two numbers reading it from JavaScript through html & I want to display the result in html side at the end.. main.py import eel import…
assassinezio
  • 99
  • 10
2
votes
0 answers

How to access local files in Python Eel?

I'm currently trying to build a standalone file processing Windows application using Python Eel. The locations for both the source and destination files are defined by the user. I'm using an iframe to display the source file and a textarea to…
Parag
  • 21
  • 2
2
votes
1 answer

Get Output of A Function in Python In a variable

My python script downloads youtube videos using the youtube-dl library. It only prints progress and does not return progress value. I have to pump the progress to my HTML page. Using return() only gives code as 0 or none. JavaScript is configured to…
Bhavya Gupta
  • 186
  • 2
  • 12
2
votes
0 answers

Asynchronous Python with eel

I am creating a desktop app with the use of eel. However, I am having an issue with running functions at the same time. The idea of eel is that it allows electron to communicate with Python via JS. So, I have created a button in the eel UI that runs…
Jason Whitman
  • 73
  • 3
  • 8
2
votes
1 answer

Python EEL: Changing button label during script running

I have a script that compiles a bunch of files from diferent directories into one xlsx sheet. I am creating a front-end to it so I can share it with my coworkers, and while I have print statements throughout my code I want some feedback on my GUI. I…
2
votes
1 answer

Unable to use both size of the window and application options together with Eel

I have tried to write a simple application to check how Eel works (I am new to Eel) and did some customization for application options and requested for a specific size. The Python code looks like below: import eel app_options = { …
Sushant Pachipulusu
  • 5,499
  • 1
  • 18
  • 30
1
2 3
10 11