I'm using python tkinter to run tcl in python And there are two ways to run a tcl command:
import tkinter
root = tkinter.Tk()
root.eval("winfo exists .l0")
root.tk.call("winfo exists .l0")
They have the same meaning
But what's different? And if I haven't define a widget names .l0 and can I directly use
child = ".l0"
child.winfo_exists()
? Because python told me "str has no attribute winfo_exists"