[EMAIL PROTECTED]:
>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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to