Shan wrote:

> i am using kid template with turbogears
> i have a value consider X
> if x = 8 then
>   i need to print an image( like  *) for 8 times.
> 
> 
> if any one know how to achieve this then please mail me.
> 

Strictly, based on what you asked:
<span py:if="x==8">
   <span py:for="i in range(x)">
     <img src="myimage.gif">
   </span>
</span>
Should work, although I don't think that's exactly what you wanted. 
Perhaps it will help though.
Paul

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to