Tkinter - Embed Image into Python Script

Опубликовано: 02 Октябрь 2022
на канале: JobinPy
1,924
52

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


На этой странице сайта вы можете посмотреть видео онлайн Tkinter - Embed Image into Python Script длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь JobinPy 02 Октябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,924 раз и оно понравилось 52 зрителям. Приятного просмотра!