1from tkinter import *
2canvas1=Tk()
3Label(canvas1, text="canvas1").grid(row=0, column=0)
4OPEN_HYP=Button(canvas1, text="OPEN", command:enter(canvas1)).grid(row=1, column=0)
5def enter():
6 canvas2()
7def canvas2():
8 canvas2=Tk()
9 Label(canvas2, text="canvas2").grid(row=0, column=0)