from time import strftime
from threading import Timer
from random import random


def postit(id, wait):
    print strftime("%Y-%m-%d %H:%M:%S"), "Thread Number {}, waited for {} seconds".format(id, wait)

print "Current Time"
postit(-1, 0)
print "Starting now"

for i in range(10):
    wait = int(random() * 10)
    Timer(wait, postit, (i, wait)).start()
