more newbie list questions

Ali ali.jan at gmail.com
Fri Jul 15 00:29:13 EDT 2005


sTemplate.replace() returns a string with that substitution.

so you need to reassign it such as:
sTemplate =  sTemplate.replace('author1', author1)

Anyway, Sion Arrowsmith above showed you a much better technique of
filling all those values at once.

Hope this helps,

Ali




More information about the Python-list mailing list