This is small Python button program. My problem was when I am clicking button always opening new window. I want one window execution. from tkinter import * import sys def pressed(): root = Tk() root.title('My Window2') root.geometry('200x200') button = Button(root,text = 'press2',command = pressed2) button.pack(pady = 20, padx = 20) def close(): quit() def pressed1(): […]
The post This my small python program .when button clicks new window opening. how it is possible to in one window only appeared first on BlogoSfera.