With the time module and sleep(60)?
http://www.python.org/doc/2.3.5/lib/module-datetime.html
sleep( | secs) |
Wim
On 1/16/06, frank h. <[EMAIL PROTECTED]
> wrote:
Hello
how can I break a loop after a certain amount of time has passed?
pseudocode:
with timeout of 60sec:
while True:
pass
is there a simple way? without resorting to queues etc. (this is a bit
over my head....)
thanks for any insight you might have
-frank
On 1/16/06, frank h. <[EMAIL PROTECTED]> wrote:
> Hello
> how can I break a loop after a certain amount of time has passed?
>
> pseudocode:
>
> with timeout of 60sec:
>
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor