ciao!

sto cercando di avviare la finestra principale centrata in tkinter.
questo il codice:
codice:
import tkinter as tk

if __name__ == '__main__':
    root = tk.Tk()
    root.title('MPQrcode')

    windowWidth = root.winfo_reqwidth()
    windowHeight = root.winfo_reqheight()

    positionRight = int(root.winfo_screenwidth() / 2 - windowWidth / 2)
    positionDown = int(root.winfo_screenheight() / 2 - windowHeight / 2)
    root.geometry("{}x{}+{}+{}".format(700, 700, positionRight, positionDown))

    root.resizable(0, 0)
    root.mainloop()
in sostanza non è centrata.
dove sbaglio??