Problem combining python code and html
Hansan
none
Thu May 12 03:51:58 EDT 2005
Any suggestions to the problem with only one character being displayed?
Thanks
Thanks for your time
"Bruno Desthuilliers" <bdesth.quelquechose at free.quelquepart.fr> wrote in
message news:42826023$0$8235$636a15ce at news.free.fr...
> Hansan a écrit :
>> Hi all, I hope you have time to help me out a little. My problem is that
>> I want to combine some python code I have made with some html templates,
>> I found a tutorial at dev shed:
> (snip a whole lot of code)
>
>> But I get the error message:
>> error: multiple repeat
>> args = ('multiple repeat',) ", Content,TemplateInput) File
>> "/home//Python-2.3.2//lib/python2.3/sre.py", line 151, in subn return
>> _compile(pattern, 0).subn(repl, string, count)
>> I tried making the templates global, but that dosnt help either.
>
> Why should it ?
>
>> Is the code from dev shed wrong,
>
> Seems like... And it is *very* ugly.
>
>> And is there a nother way to combine python code and html templates?
>
> Many. The one I prefer is Zope Page Templates (there's a free-standing
> implementation named SimpleTAL), but I didn't tried all and every existing
> solutions.
>
More information about the Python-list
mailing list