But do not tell me how to call another from one GUI window? (Program code in Python.)
Added from comment.
Well, here is the simplest example, I create a file proba.py:
from Tkinter import* tk1=Tk()
Next, create a file with which I want to open the previous one:
# -*- coding: cp1251 -*- from Tkinter import* from proba import* def button1_clicked(): tk1.mainloop() button1=Button(text=u'жми!',command=button1_clicked) button1.pack() tk=Tk() tk.mainloop()
As a result, both windows come out, while the button essentially does not work ...