Eel for Python - Quick and Easy GUI!

preview_player
Показать описание
GUI can be a tough subject, with tons of generated messy code to sit through. Luckily, web programming, with its intuitive syntax, is becoming more popular for GUI design! Today, we take advantage of this with our Python code by using a package called eel.

= CONTENTS =
0:00 Introduction
0:37 What is Eel?
1:56 Mechanics & Demo of Eel
2:27 Demo 1: Eel Setup & Folder Structure
3:20 Basics of JavaScript-Python Communication
3:42 Demo 2: JavaScript Triggers Python
5:27 Demo 3: Python Triggers JavaScript / Non-Blocking start()
8:28 Discussion on Return Values
9:06 Demo 4: Return Values (The Intuitive Way)
10:54 Demo 5: Return Values (The Official Way)
11:24 Return Values - Synchronous (Python)
12:25 Return Values - Asynchronous
13:51 Wrapup
14:43 Larger Demo: Mastermind Solver
18:25 End of Demo

= CODE DOWNLOAD =

To download, first click on "Downloads" in the left sidebar. Then, in the subsequent page, click "Download Repository".

= 0612 TV =

Enjoy your stay, and don't hesitate to drop me a comment or a personal message to my inbox =) If you like my work, don't forget to subscribe!



= NERDfirst =
NERDfirst is a project allowing me to go above and beyond YouTube videos into areas like app and game development. It will also contain the official 0612 TV blog and other resources.


-----

Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.
Рекомендации по теме
Комментарии
Автор

*On Debugging and Help*
Unfortunately due to high IRL workloads, I'm not able to look at your code and help diagnose problems. You may contact me at hello(at)nerdfirst(dot)net for paid consultation, if you really see the need.

NERDfirst
Автор

You did an excellent job in explaining what's going on between JS and Python. I watched other videos about Eel before, no one could articulate as well as you did!

henrycheung
Автор

One of the best tutorials on youtube so far... great work mann, your voice is great.

ashishkumawat
Автор

I just found this channel and i don't know how it hasn't blown up yet. Keep up the good work!

OrangeYTT
Автор

You are a really good explainer. So easy just to listen and follow your explanation.

orjihvy
Автор

Best tutorial so far! I understood everything perfectly! Thanks.

MdFive
Автор

This video is the most explanatory one on youtube. Thanks a lot.

bozok
Автор

Fantastic video, you really got the main point across and made it understandable to work with

MarieAmeliaFreyaAster
Автор

block=false, это то чего мне не хватало. Спасибо!
Hello from Russia!

Mralex
Автор

Awesome. Very neat. Waiting for much more videos from you

kannanswaminathan
Автор

One of the best tutorial as well as one of the oldest. Great!!!👍💐

prabhatchanchal
Автор

Nice one!
You've just got a new sub!
Thanks for the great content.

sthefanocarvalho
Автор

Cool video - Eel reminds me a lot of Flask - heavily influence for sure.

karlduckett
Автор

Great video man!, I want to focus on the UI of my aplications, would you recomend this GUI maker to make something complex as an inventory sistem or anything that you have to use python to write information and it gives back a result ?

MindHer
Автор

Sir, I want to ask something about installing eel using "pip install eel" through cmd. Why is it error? In this line, it is said "Installing build dependencies ... error", then all the red code goes in and eventually, eel failed to be installed. Does anyone also has the same problem? Or have solution for this problem? This line pops up too, "WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available." Should I upgrade it?

pz
Автор


PD: sorry for the awful english :| thanks a lot

DEGAGV
Автор

thanks for the info, could you give some examples other than eel to build bigger more complex python projects that has a front end that uses html

miladbannourah
Автор

text = eel.readTextBox()()
AttributeError: module 'eel' has no attribute 'readTextBox' , i got this error what could be wrong pls help

edinetgrunhed
Автор

i dont try yet, but people said that file produce by electron or its derivative will be BIG in size. Please confirm.

setyoufree
Автор

Is there a alternative for Py GUI which is more reliable with few heavy lifting?
Tkinter or PyQt doesnt seems to have the 'moder ui' looks.. is there any workaround for that please?

aksash