title: How to make simple alarms on Python
body: <p>I'm trying to make a simple alarm using Python but whatever I try it doesn't seem to work. I've just recently made a timer but an alarm would be a little more useful.
  I'm also pretty new to Python so I'm not really aware of all the rules and syntax.</p>
  
  <pre><code>import datetime
  import os
  stop = False
  while stop == False:
      rn = str(datetime.datetime.now().time())
      print(rn)
      if rn == "18:00:00.000000":
          stop = True
          os.system("start BTS_House_Of_Cards.mp3")
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/6Aodv.png" rel="noreferrer">When I run the file, it prints the time but goes completely past the time I want the alarm to go off at.</a></p>