On Wed, Jan 29, 2014 at 12:27 PM, Umar Draz <[email protected]> wrote:
> Hi
>
> How we can concatenate a string with variable in templates. e.g.
>
> I have a veriable $:distro['distro'] now I want to add .png end of this
> variable like
>
> $:distro['distro'].png
>
> would you please help me how we can do this?
>
Try:
$:{distro['distro']}.png
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.