import time from threading import Thread threads = 3 class Bloedsinn(Thread): def __init__(self, number): super(Bloedsinn, self).__init__() self.number = number def run(self): while True: print self.number time.sleep(2) for i in xrange(threads): thread = Bloedsinn(i) thread.start()