title: Stopwatch in python? Count until you press space
body: <p>I want to make a stopwatch in python 3.3 that continues to count until you press a button or something, it should then stop counting. This is my code:</p>
  
  <pre><code>seconds = 0
  minutes = 0
  continued = 0
  while continued != 1:
      print(minutes, ":", seconds)
      time.sleep(1)
      if seconds == 59:
          seconds = 0
          minutes = minutes + 1
      else:
          seconds = seconds + 1
  </code></pre>
  
  <p>without using CTRL + C</p>
  
  <p>I am using no GUI or anything, just pure python code running in command prompt using IDLE.</p>