[Zope] Problems when I call DateTime()

libsvm libsvm at tom.com
Tue Mar 22 08:11:15 EST 2005


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




More information about the Zope mailing list