[Zope] Time module in python scripts

Chris McDonough chrism@zope.com
06 Feb 2003 17:00:54 -0500


Apparently.  See /lib/python/Products/PythonScripts/README.txt or the
Zope Developer's Guide Security chapter for info on how to enable it...

- C


On Thu, 2003-02-06 at 16:49, Chris Muldrow wrote:
> I'm trying to do
> Import time
> Time=time.time()
> 
> in a Python Script, but I'm getting login prompts and "Error Value: You are
> not allowed to access time in this context" messages. Is the time module one
> that's restricted in Python Script?
> Chris
> 
> 
> _______________________________________________
> 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 )