[Zope] Accessing mxDateTime within python scripts

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Tue, 13 May 2003 10:33:33 +0200


--On Dienstag, 13. Mai 2003 10:09 Uhr +0200 Kahlbacher Bernhard 
<Bernhard.Kahlbacher@fh-joanneum.at> wrote:

> Hi all,
>
> I need several DateTime Funcion to create a mini-tutos system.
> So I tried to imort the mxDateTime libraries, but this doesn't work at
> all. from mx.DateTime import * results to
> You are not allowed to access DateTime in this context.

check lib/python/Products/pythonScripts/README.txt
>
> Can anybody give me some advice how to handle with this, or are there
> other DateTime Function available in Python (I didn't find DateTime
> Function in the Python Docu) ?

Check Appendix B of the Zope Book.

-aj