Tkinter.Text.winfo_pathname

Text.winfo_pathname(id, displayof=0)

Return the pathname of the widget given by ID.