title: How to disable function calls for some time
body: <p>I'm relativity new to Python, having only worked with it about a month or so, and I wanted to make a text rpg on Python 2.7.2. So for some commands, such as mining or fishing for example,I wanted to have some time after they used the command where they can't use the command again for a specific period of time.</p>
  
  <pre><code>while True:
  command = raw_input("Say something")
  if command = "mine":
      print "You found 2 Rocks! etc."
  </code></pre>
  
  <p>I want to make it so that you can only use the command every 1 minute, for 
  example. 
  If the time wasn't finished yet, it'll print </p>
  
  <pre><code>print "Please wait a moment(%s seconds remaining)" % timeleft
  </code></pre>