Tkinter.Tk.winfo_pathname

Tk.winfo_pathname(id, displayof=0)

Return the pathname of the widget given by ID.