Here is my code of Tkinter
master = Tk() def callback(): print e.get()
if mouseX >=344 and mouseX <= 443 and mouseY >=464 and mouseY <= 524:
#newPilot = load_image('newP_hover.gif')
if event.type == MOUSEBUTTONDOWN:
b1,b2,b3 = pygame.mouse.get_pressed()
if b1 == True:
e = Entry(master)
e.pack()
e.focus_set()
b = Button(master, text="Next", width=10, command=callback)
b.pack()
mainloop()
e = Entry(master, width=50)
e.pack()












