Did you try:
${'$' + a['price']}
On Tue, Jul 1, 2008 at 1:07 AM, Jeffrey Ollie <[EMAIL PROTECTED]> wrote:
>
> On Tue, Jul 1, 2008 at 12:01 AM, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> >
> > I'd like to prepend a dollar sign to a variable in genshi. (I used to
> > just add the $ sign to the price in python, but I've eliminated the
> > loop that goes through the data taken from the database in order to
> > speed things up).
> >
> > The variable is ${a['price']} in genshi. I tried the obvious $$
> > {a['price']} but no love.
>
> Did you try:
>
> $$${a['price']}
>
> ?
>
> Jeff
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---