Exercises, examples and other material relating to training module T050. This module is presented on
Private Courses and
Specially Run Courses only
Background
Tcl is a language designed to provide an
environment in which engineers can tailor
generic applications written in C - and as
such you'll find it used in industries like
IC design and Numerical Control. If you add
Tk, you get a powerful Graphic User Interface
that's great for writing window base applications,
and Expect provides a powerful front control
for command line processes that would otherwise
be difficult to automate.
Related technical and longer articles
Why have Tcl/Tk been around for so long?Incr-Tcl - Object Oriented extension to TclThe Typist and the Engineer
244b
| Articles and tips on this subject | updated |
| 3286 | Should we cover expect and/or Tk on our public Tcl courses? A sizeable minority of our Tcl course delegates use the expect and / or tk extensions. And on our Tcl courses we handle the two differently. For Expect, we include some coverage in our standard agenda, running if required an hour or two into the evening of starting early in the morning to ensure substantial ... | 2011-05-11 |
| 3192 | Tcl - Some example of HOW TO in handling data files and formats During the Tcl course I was running earlier this week, we got involved in a number of interesting topics such as
• How to clean up input lines into lists of fields (use split)
• How to reformat awkward fields (use regexp and regsub)
• How to combine files that vary in format from year ... | 2011-03-04 |
| 2681 | Tcl - a great engineering language It might be a little old and out of fashion - but Tcl is still very much in use, we use it and we can offer you a learning to program in Tcl training course if you're new to programming, or a Tcl Programming course if you've programmed in another language before. We also offer a two day Tk course as ... | 2011-03-01 |
| 2504 | Learning to program in ... These are bullet point topics to accompany the "Learning to program in ..." days which are available to complete novices in front of Well House Consultants programming courses. The day is presented using examples in PHP, Lua, Python, Ruby, C, C++, Tcl, Java or Perl as appropriate, with examples written ... | 2009-11-29 |
| 2474 | Using Tcl and Expect to automate repetitive jobs If you're typing the same series of instructions into your computer time and time again, perhaps with predictable variations depending on the responses that you get, you should consider using Expect. Expect adds three extra major commands to the Tcl language:
• spawn to start a process
• send ... | 2009-10-24 |
| 2429 | Tcl scripts / processes on a web server via CGI If you have programs / scripts / processes written in Tcl, you can run them on your web server via the Common gateway Interface, possibly with a bit of topping and tailing to read data from a form rather than via gets commands, and to ensure that the output does get the right headers attached to it and ... | 2009-09-29 |
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
What is Tcl?
What are Tk and Expect?
What are they used for?
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Tcl/Tk, Expect,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.