import tkinter as tk

main_window = tk.Tk()
main_window.title("My First Python Application")
main_window.geometry("400x400")
main_window.minsize(200,100)
main_window.maxsize(1000,720)
main_window.mainloop()