Tkinter - Embed Image into Python Script

Pubblicato il: 02 ottobre 2022
sul canale di: 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


In questa pagina del sito puoi guardare il video online Tkinter - Embed Image into Python Script della durata di ore minuti seconda in buona qualità , che l'utente ha caricato JobinPy 02 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,924 volte e gli è piaciuto 52 spettatori. Buona visione!