python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
TCL multi-character split in Python?
I am splitting a text file using this tcl proc:
proc mcsplit "str splitStr {mc {\x00}}" {
return [split [string map [list $splitStr $mc] $str] $mc] }
# mcsplit --
# Splits a string base...
Nour
Votes: 0
Answers: 1
TCL - Classes or dictionaries?
I would like to store data that transverse several levels of hierarchy.
For example:
A data structure that stores cars may store the colour, age and other aspects of each vehicle.
The question is: doe...
Pedro Cardoso
Votes: 0
Answers: 2
TCL Blowfish behavior
I made a small script that zips a file and then encrypts that file:
#-- cut from proc --
set outfile [open $out wb]
set ind [string last \/ $in]
set in [string range $in [expr $ind + 1] end]
zipfile::...
dana
Votes: 0
Answers: 1
TCL - Return Dictionaries within procedures
I want to create several procedures to deal with dictionaries, such as:
-> push
-> pop
-> print
etc
I created a procedure that "creates/sets values to a dictionary".
From the point ...
Pedro Cardoso
Votes: 0
Answers: 1