[Zope] Re: [ZPT] Need a delay !!

Chris Withers chrisw@nipltd.com
Thu, 07 Mar 2002 21:41:33 +0000


Peter Bengtsson wrote:
> 
> >
> > > I am doing a project in Zope and I need to place a delay in one of my
> > python scripts in ZOPE
> > > without using the python module "time.sleep" is there a nother way to
> > do this???
> >
> >Why can't you use time.sleep?
> 
> time.sleep is not allowed in python scripts, 

So allow it! :-)

See lib/python/Products/PythonScripts.py

...to see how

cheers,

Chris