[EMAIL PROTECTED] wrote: > You could also have done: > > def index(req, name='John'): > s = 'Hello, there!' > if name: > names = ['a', 'b', 'c'] > s = 'Hello, %s!' % name.capitalize() > tmpl = psp.PSP(req, filename='index.psp') > req.content_type = 'text/html' > tmpl.run(vars = { 'greet': s, 'names': names }) > return > > Try the mod_python mailing list if you want an explaination of why. > > Graham
Thanks, that worked. -- http://mail.python.org/mailman/listinfo/python-list