22 Mar
2005
22 Mar
'05
1:17 p.m.
Perhaps you should: import DateTime e = DateTime.DateTime("US/Eastern") Regards Marco libsvm wrote:
Dear all,
I try to run such a very simple python script in Zope:
import DateTime e=DateTime("US/Eastern") print e return printed
BUT it raise such Errers: Site Error An error was encountered while publishing this resource.
Error Type: TypeError Error Value: 'module' object is not callable
Can someone help me?
Denny
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )