Equivalent of TCL's "subst" ?

gamename namesagame-usenet at yahoo.com
Tue Nov 13 18:00:35 EST 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