Equivalent of TCL's "subst" ?

gamename namesagame-usenet at yahoo.com
Wed Nov 14 00:00:35 CET 2007


Hi,

In TCL, you can do things like:
set foobar "HI!"
set x foo
set y bar
subst $$x$y
HI!

Is there a way to do this type of evaluation in python?

TIA,
-T




More information about the Python-list mailing list