Marc> Many newbie code I have seen avoids it by string concatenation:
Marc> greeting = 'Hello, my name is ' + name + ' and I am ' + str(age) + ' old.' Marc> That's some kind of indirect complaint. :-) I see Python code like that written by people with a C/C++ background. I don't think you can necessarily chalk that up to %-string avoidance. They learn that + will concatenate two strings and don't look further. -- Skip Montanaro - s...@pobox.com - http://smontanaro.dyndns.org/ -- http://mail.python.org/mailman/listinfo/python-list