variables associated with widgets are tkinter class objects with methods in pythonwidget creation commands ( buttonare python class names that start with an uppercase letter ( button)two-word widget operations ( add commandbecome single method name with an underscore ( add_command)and the "configuremethod can be abbreviated as "config,as in tcl in we will also see that tkinter "variablesassociated with widgets take the form of class instance objects ( stringvarintvarwith get and set methodsnot simple python or tcl variable names table - shows some of the primary language mappings in more concrete terms table - tk-to-tkinter mappings operation tcl/tk python/tkinter creation frame panel panel frame(masters button panel quit quit button(paneloptions button panel go -fg black go button(panelfg='black'configure panel go config -bg red go config(bg='red'go['bg''redactions popup invoke popup invoke(packing pack panel -side left -fill panel pack(side=leftfill=xsome of these differences are more than just syntacticof course for instancepython builds an internal widget object tree based on parent arguments passed to widget constructorswithout ever requiring concatenated widget pathname strings once you've made widget objectyou can use it directly by object reference tcl coders can hide some dotted pathnames by manually storing them in variablesbut that' not quite the same as python' purely object-based model once you've written few python/tkinter scriptsthoughthe coding distinctions in the python object world will probably seem trivial at the same timepython' support for object-oriented techniques adds an entirely new component to tk developmentyou get the same widgetsplus python' support for code structure and reuse python/tkinter for tcl/tk converts