Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Tcl/Tk module T050
Tcl, Tcl/Tk and Expect - General
Exercises, examples and other material relating to training module T050. This module is presented on Private Courses and Specially Run Courses only

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 Tcl
The Typist and the Engineer

Articles and tips on this subjectupdated
4616Still teaching Tcl in 2016?
Yes, we still offer Tcl courses … as I have just answered an enquirer. Even though it's the second-oldest language that we teach, it has stood the test of time well and there's a large code base in use that needs supporting and updating from time to time. The public courses are Learning to Program ...
2504Learning to program in ...
At Well House Consultants, we offer courses at two levels in a number of program- ming languages. Our "learning to program in ..." courses are for delegates who have never programmed before, or who are rusty, who lack confidence, or want a refresher of the basic principles. Our "... programming" courses ...
4460Using Object Oriented Tcl and the Tk toolkit together - real life example
There are all sorts of ways to look at the survey data we gathered last October on the TransWilts trains, and one fact I'm particularly interested in is the journey lengths of passengers. I have all the information to hand that I need to work this out - but in different files: Survey data [here] Station ...
4434Public training courses - upcoming dates
I've been presenting a long series of private courses over the past two months - Ruby and Cucumber, Python, Java and C++. From the beggining of March until mid April, I'm training most weeks at our Melksham, Wiltshire training centre - courses scheduled as follows: If you've missed these dates or want ...
4206Writing the perfect program in Tcl?
I'm going to disappoint you... there's no such thing as the perfect program. But when I'm writing an answer to a class exercise and showing a sample, I have to make sure it's to a high standard - and that means at least: • Well commented • Using good variable names • Avoiding repetition ...
3286Should 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 ...
3192Tcl - 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 ...
2681Tcl - 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 ...
2474Using 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 ...
2429Tcl 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 ...
Examples from our training material
day2   A good - but not perfect - early program
day3   A good - but not perfect - second program
distance_graph   itcl and tk together - full app
myfuncs   File of function(s) for common operations
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 [here].
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,Ruby, Lua, 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.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2017: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/T050.html • PAGE BUILT: Mon Feb 8 18:55:24 2016 • BUILD SYSTEM: WomanWithCat