title: Python Pause a game with a Key
body: <p>First of all I want to say sorry for my english. Its not my mother tongue. 
  I want to make a 2D Snake Game with python. I also want to press the button "p" to pause the game, and if I press it again, it should go on normaly. My idea was to use the time.sleep command. If p gets pressed it should start to "count" and implementing it into the sleep command. If I would p again it should stop the timer  and also the sleep command. Can someone help me with this, because I can't find something in the internet... I use pygames for the key. </p>
  
  <p>Thank you alot.</p>
  
  <p>Jace</p>