title: Creating an alarm in seconds Python
body: <p>I am trying to code a function that recognizes when X amount of seconds has passed without pausing the program, so without using <code>time.sleep</code>. How would I be able to do that by using the <code>unix timestamp</code>? So for the code below it would print <code>5 seconds has passed</code> for every 5 seconds that passes.</p>
  <pre><code>import time
  X = 5
  TIME = time.time()
  </code></pre>