The purpose of this document is to show
how the introductory programming examples from the book Python Scripting for
Computational Science can be implemented in Perl and Tcl. Topics covered
includes: Introduction to Tcl/Tk, A Scientific Hello World Script, Automating
Simulation and Visualization, Frequently Encountered Tasks, GUI Programming with
Tcl/Tk.
This note introduces the basics of Tcl. Chapter1
describes the fundamental properties of the language. Chapter 2 is a short
introduction to running Tcl and Tk on UNIX, Windows and Macintosh systems.
Chapter 3 presents a sample application, a CGI script, that implements a
guestbook for a Web site. The rest of this book covers basic programming with
Tcl.