Forum | Latest web development tutorials

Tcl/Tk Tutorial

Tcl is a general purpose multi-paradigm system programming language. Tcl is a scripting language that aims at providing the ability for applications to communicate with each other. Tk is a cross platform widget toolkit used for building GUI in many languages.

This tutorial will cover various topics ranging from the basics of the Tcl/ Tk and its scope in various applications.


This tutorial is designed for all those individuals who are looking for a starting point of learning Tcl/ Tk and we cover topics suited for a beginner and an advanced user.


Before proceeding with this tutorial it is advisable for you to understand the basics concepts of computer programming. But the tutorial is self contained and you will be able to learn on various concepts of Tcl/ Tk even if you are a beginner. You just need to have a basic understanding of working with a simple text editor and command line.

Execute Tcl/ Tk Online

For most of the examples given in this tutorial you will find Try it option, so just make use of this option to execute your Tcl/ Tk programs at the spot and enjoy your learning.

Try following example using Try it option available at the top right corner of the below sample code box −

puts "Hello World!"