You can put an image and text on a Tkinter button widget. This small code shows you how. The GIF image file you want to use for the button should be in the working directory, or you have to give it the full path. Incorporate the Python Image Library (PIL) for other image formats.
sneekula commented: nice code +12
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Lardmeister commented: practical code +10
ddanbe commented: Thanks for sharing! +14
tyrenwick commented: i doubt you see this, but your code was extremely helpful even 10yrs later and on a newer version of python. thank you very much!! +0