From: marcel.lanz at isoe.ch (Marcel Lanz)
Date: Sat, 17 Apr 1999 19:11:41 +0200
Subject: Sleeping threads
References: <3718042D.EE5D36A8@hons.cs.usyd.edu.au>
Message-ID: <3718C0CD.814F3506@isoe.ch>
X-UID: 757                                                  

Matthew Robert Gallagher wrote:
> 
> I've been looking at threads and time but how do you sleep threads

hi,
if you use low-level threads:
simply sleep with the time.sleep() method in the thread-method you
choosed.

import time, thread
...
...
def x():
 print 'too high'
 time.sleep(0.5)

thread.start_new_thread(x, ())

greetings
	marcel




