On Sun, Nov 2, 2008 at 6:21 PM, leone <[EMAIL PROTECTED]> wrote:
>
> Sorry, but using  this code with webpy 0.3.....:
> htmlcode2 = """
> $def with (o)
> <HTML>
> <HEAD>
> </HEAD>
> <BODY>
> <CENTER>
> It works!
> </CENTER>
> </BODY>
> </HTML>
> """

Looks like templetor is expecting $def in the first line.
The following works.

htmlcode2 = """$def with (o)
<HTML>
<HEAD>
</HEAD>
<BODY>
<CENTER>
It works!
</CENTER>
</BODY>
</HTML>
"""

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to