1from tkinter import *
2from tkinter.ttk import *
3
4master = Tk()
5def openNewWindow():
6 newWindow = Toplevel(master)
7 newWindow.title("New Window")
8 newWindow.geometry("200x200")
9 Label(newWindow,text ="This is a new window").pack()
10