[Zope] using dollars_and_cents in python script?
Dieter Maurer
dieter@handshake.de
Thu, 16 Jan 2003 22:53:49 +0100
Jeff Kowalczyk wrote at 2003-1-16 10:49 -0500:
> What am I missing when importing and using methods like dollars_and_cents() in python
> scripts?
A typo:
> What works for me in ZPT Tal...
> tal:define="pss modules/Products/PythonScripts/standard; value 47.5"
> tal:content="python:pss.dollars_and_cents(value)"
>
> Isn't working in PythonScripts.
> from Products.PythonScripts.Standard import dollars_and_cents
Use "standard" not "Standard"!
Dieter