title: Python timer countdown
body: <p>I want to know about timer in Python.</p>
  
  <p>Suppose i have a code snippet something like:</p>
  
  <pre><code>def abc()
     print 'Hi'  
     print 'Hello'
     print 'Hai'
  </code></pre>
  
  <p>And i want to print it every 1 second. Max three times;ie; 1st second i need to check the printf, 2nd second I need to check as well in 3rd second. </p>
  
  <p>In my actual code variables value will be updated.
  I need to capture at what second all the variables are getting updated.</p>
  
  <p>Can anybody tell me how to do this.</p>