This section brings together some bits of information about the interpreter that runs tclets and the global variables available to them.
Emphasis is on what makes conditions different than with a normal Tk interpreter.
Most of what you need to know about writing a tclet is covered in the first twenty chapters of this book. The actual mechanism for creating the interpreter that runs a tclet is described in the next section. All tclets begin execution in the Safe Base interpreter which is a version of Tk that lacks access to the following commands and library procedures. The modifications remove potentially dangerous capabilities. The getattr command can be used as follows.