[Tutor] timeout

frank h. frank.hoffsummer at gmail.com
Mon Jan 16 14:14:16 CET 2006


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. <frank.hoffsummer at gmail.com> wrote:
> Hello
> how can I break a loop after a certain amount of time has passed?
>
> pseudocode:
>
> with timeout of 60sec:
>


More information about the Tutor mailing list