This is a stand alone interpreter which is the basic equivalent of
#! /usr/bin/tclsh package require Expect package require Tk
Note that this interpreter is not intended to interact with Tk applications - instead, it is intended to allow one to write Tk applications that invoke expect in the background. This allows one to have a GUI interface to gather inputs, etc.