Tkinter - Embed Image into Python Script

preview_player
Показать описание
I'll show you how to embed images in your Python scripts so that when you distribute a Tkinter application, you won't need to distribute the image files separately - the images will be included within your Python script.

0:00 Intro
1:10 The advantage
1:41 Starter code
2:02 The icon images
2:24 Convert to base 64
5:34 Load image from base 64
6:38 Show text beside image
6:55 Add image to exit button
8:09 Demo app
8:33 Disadvantage of base 64
9:59 Closure

#tkinter #pythongui #pythonguitutorial #pythonprogramming
Рекомендации по теме
Комментарии
Автор

I absolutely love you dude, I've been searching for a solution for my problem for literal days and here you have it and it works perfectly. Thank you

queithai
Автор

Thaks a lot, it's very useful information! I haven't seen anything like this in another tutorials.

Claude_CJ_Vercetti
Автор

Thanks for this video. Highly helpful.

reshmah
Автор

great information!! much useful when we try to convert our software into complete .exe package

susheelvarma
Автор

I definitely found this useful, thanks a lot. 🙂

EFoxVN