import threaddef counter(myId, count): for i in range(count): print '[%s] => %s' % (myId, i)for i in range(10): print thread.start_new(counter, (i, 100))import timetime.sleep(3) print 'Main thread exiting.'
Name (required)
email (will not be published) (required)
Website