title: Python, writing a very basic alarm clock
body: <p>I've just written a very basic alarm clock in python to warn me when some food is cooked at 2:15pm, but I've read somewhere that time.sleep loses time when other programs are being processed, what should I use instead?
  My current code, it's really basic -</p>
  
  <pre><code>import time
  import winsound
  time.sleep(370800)
  winsound.Beep(1000,10000)
  </code></pre>