[ZPT] Re: [Zope] Re: Trouble With Python Script

beno zope@thewebsons.com
Thu, 10 Oct 2002 12:59:05 -0400


At 05:08 PM 10/10/2002 +0200, you wrote:
>Don't declare the function indexCSS. Your PythonScript IS the function 
>indexCSS.
>
>this one works for me without any problems:
>
>**
>import string
>
>size = string.atoi(size)/1280
>css = ".headline { position: absolute; top: " + str(100*size) + "}"
>return css
>**

Yes. This is what I inevitably ended up with, too. Thank you!
beno