# import the threading module import threading # create the method/function def something(): print "Something" # end the program return 0 #create the timer t = threading.Timer (10, something) t.start()