Time isnt part of dtml, DateTime but doesnt include sleep. A python method
of some kind is youre only bet.

--
  Andy McKay, Developer.
  ActiveState.

----- Original Message -----
From: "Martin Winkler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 05, 2000 2:43 PM
Subject: [Zope] time.sleep() in dtml


> Hello all,
>
> some python functions work in dtml, mostly mathematical ones. But what I
do
> need at the moment is the "time.sleep(x)" function to prevent an immediate
> reply to a request of the users. I tried <dtml-var "_.time.sleep(1)"> and
> <dtml-var "_.sleep(1)">, but Zope returned an "Attribute error".
> Any ideas? Or do I have to create a special python method for this? (I'm
> not used to python until now...)
>
> Martin
>
>
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to