How can I get my print results in a tkinter GUI? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How can I get my print results in a tkinter GUI?

Example: I have a interest calculator code. And have my entries from a user put in the GUI. Now I need the print / output results be shown in the GUI itself. Can somebody help please? Thanks :)

27th Mar 2020, 10:15 PM
Alex Tee
1 Réponse
+ 2
For example you can use a Label Widget and set its 'text' attribute. Explained for example here: http://effbot.org/tkinterbook/label.htm
27th Mar 2020, 11:02 PM
HonFu
HonFu - avatar