i am complete newb with chameleon (downloaded 30 minutes ago) and am
having a problem with basic use.

based on the docs,
  http://chameleon.repoze.org/docs/latest/library.html#getting-started
i do (in python 2.7.1)

>>> from chameleon import PageTemplate
>>> template = PageTemplate("<div>Hello, $name.</div>")
>>> template(name='John')
u'<div>Hello, $name.</div>'

why does not the template variable get substituted?

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to