All pastes #81099 Raw Edit

Mine

public python v1 · immutable
·published 2006-07-07 03:36 UTC
rendered paste body
#!/usr/bin/python#-*- coding: utf-8 -*-from time import sleepimport osimport sysimport threadingDELAY = .3class MyThread (threading.Thread):    def start (self, i):        self.counter = 0        self.sep =  str(i) + "-" * i        threading.Thread.start (self)    def run (self):        for i in range(80):            print self.sep,i            self.counter = i            sleep (DELAY)        threading.Thread.run (self)for i in range(70):            m =MyThread ()    m.start (i)    sleep (3 * DELAY)