Top "Tcl" questions

Tool Command Language was invented by John Ousterhout as a way to make it easy to write little languages for configuring EDA tools, but it has grown far beyond those humble beginnings to become a general scripting language with built-in asynchronous I/O and Unicode strings while supporting paradigms such as object-oriented programming and coroutines.

Tcl + Check file existence

I'm trying to check if a file exists or not in Tcl, but I can't seem to get a true …

file tcl expect file-exists
How to store output in a variable while using expect 'send' command

Thanks. But the account and password are needed. So I must send them and then send ovs-vsctl command. the scripts …

tcl output send expect
How to check if list element exists in TCL?

Say I have a TCL list, and I have append some elements to my list. Now I want to check …

list tcl exists
File reading, writing and appending in TCL

In TCL, how to append different content into a single file using the for loop or foreach loop?

file-io tcl
Install tkinter in python3.6 on Ubuntu

+--------+-----------------------------------+ | OS | Ubuntu 12.04 | +--------+-----------------------------------+ | Python | 2.7, 3.2 and source installed 3.6 | +--------+-----------------------------------+ Since there are 2 versions of Python 3, anything installed …

python python-3.x tkinter tcl python-3.6
How to initialize an array in Tcl?

What is the proper way to initialize an empty array in Tcl? I have the following code (simplified): proc parseFile {…

arrays tcl
Determine type of a variable in Tcl

I'm looking for a way to find the type of a variable in Tcl. For example if I have the …

variables tcl object-type
How do I extract all matches with a Tcl regex?

hi everybody i want solution for this regular expression, my problem is Extract all the hex numbers in the form …

regex tcl
How to run tcl script inside other tcl script?

I have two tcl scripts. I want to run the second script when the first finished. How can I do …

tcl
How can I assign a variable using $expect_out in TCL/EXPECT?

If I want to match DEF_23 using the following regexp: expect { -re "DEF_\[0-9]*" set result $expect_out(1,string) } why …

regex tcl expect