automatic referencing for variables?

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Mon Mar 6 13:01:04 EST 2006


sergio at village-buzz.com:
>can you do something like that in python?

All you did is show us some string literals, but I guess you're looking
for string substitution:
http://docs.python.org/lib/typesseq-strings.html

This can be simplified, they say:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/305306

There's also Template strings:
http://www.python.org/dev/doc/newstyle/lib/node105.html

-- 
René Pijlman



More information about the Python-list mailing list