Equivalent of TCL's "subst" ?

gamename namesagame-usenet at yahoo.com
Sat Nov 17 14:11:22 EST 2007


>  >>> foobar = "HI!"
>  >>> x = 'foo'
>  >>> y = 'bar'
>  >>> print eval(x+y)
> HI!

Great! Thanks.
-T



More information about the Python-list mailing list