Answer the question
In order to leave comments, you need to log in
Is it possible to set properties of a Tkinter Python window with a generator?
Set Tkinter window properties line by line
root=Tk();
root.title("Title");
root.geometry("300x250");
root.mainloop()
[ root.x[1]([x[2]]) for x in ]
Answer the question
In order to leave comments, you need to log in
[getattr(root, attr)(value) for attr, value in [('title', 'Title'), ('geometry', '300x250') ]]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question