| Byron Ellacott 
    bje at apnic.net Thu Feb 26 15:53:30 EST 2004 
 On Thu, 2004-02-26 at 15:46, vincent delft wrote:
> import time
> from threading import Thread
> import sys
> def funct(i):
>      fid=open('/tmp/tt%s.tt' % i,'w')
>      sys.stdout=fid
>      for j in xrange(50):
>         print i,j,
>         time.sleep(0)
Change this to time.sleep(1) and see what happens.
>      fid.close()
> for i in xrange(50): Thread(target=funct,
> args=(i,)).start()
-- 
bje
 |