Sortie d'impression dans l'interface graphique Tkinter, Python

from Tkinter import *

def printSomething():
    print "Hey whatsup bro, i am doing something very interresting."

root = Tk()

button = Button(root, text="Print Me", command=printSomething)
button.pack()

root.mainloop()

La sortie est à venir dans le terminal de l'endroit où je suis en cours d'exécution du code
J'ai besoin de la sortie dans l'interface graphique.

  • Je suis nouveau dans le GUI de choses, comment puis-je le faire? Merci pour le guide.
InformationsquelleAutor Anand Vyas | 2017-03-16