Tkinter maximise window

import Tkinter

MyRoot = Tkinter.Tk()
MyRoot.state("zoomed")

MyRoot.mainloop()

Here is what the above code is Doing:
1. We’re creating a Tkinter object called MyRoot.
2. We’re setting the state of MyRoot to “zoomed”.
3. We’re calling the mainloop method on MyRoot.
4. We’re closing the program by pressing the “x” in the top right corner of the window.