Way to create a multiple window app?

Hi all,
I wanna create a multiwindow app … for example … one window for database, one window to create a new client etc … you know … switch between windows … BUT I dont know if I do it in a right way … so this is my code …

window1.py

from tkinter import *

root = Tk()
root.title("Window 1")
root.state('zoomed')
w = root.winfo_screenwidth()
h = root.winfo_screenheight()
root.geometry("%dx%d" % (w, h))

def win2():
    import window2

btnWin = Button(root, text="open window 2", command=win2).pack()

root.mainloop()

window2.py

from tkinter import *

window2 = Toplevel()
window2.title("new Window 2")
w2 = window2.winfo_screenwidth()
h2 = window2.winfo_screenheight()
window2.geometry("%dx%d" % (w2, h2))

is this OK or I should do sth else?
Thank for advice

Setting geometry to the existing geometry should not do anything.

Toplevel should be called with root, although the default root being set to root may do the same thing.

IDLE creates root and withdraws it. It creates as least one Window and then more windows with Toplevel(root) as requested. So any Window can be closed without closing root. It you display root, it must always be present.