basically it looks likes a text area..having some additional feature being displayed at the top of it like smilies, bold and italic buttons......or u can take the example of the text area we we are using in order to chat in this forum
Here is one link to such a utility -- much easier to borrow someone else's since many are already out there. http://www.openwebware.com/
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: