import Tkinterfrom Tkinter import Tk, ButtonTkinter.NoDefaultRoot() win1 = Tk() # two independent root windowswin2 = Tk() Button(win1, text='Spam', command=win1.destroy).pack()Button(win2, text='SPAM', command=win2.destroy).pack()win1.mainloop()
Name (required)
email (will not be published) (required)
Website