title: Python -> Telling a program with print statements to "not print"
body: <p>I'm currently learning Python and began a project to create a baseball sim for the 2000-2005 MLB showdown card game. The programs contains events of the baseball game as print statements in the middle of separate pieces of code ("Jeff hits a single", "Bobby hits a fly ball for an out", etc). I often will take out the print statements if I want to run a lot of games at once. My goal, for feasibility reasons, is to tell Python to not print certain statements (say, in a specific span of lines) even though the code says print " ". Is this possible?</p>
  
  <p>example:</p>
  
  <pre><code>while numberofgames &lt; 1000:
    [do not print any statements here]
    ---baseball games---
  end of while loop
  </code></pre>
  
  <p>THEN: print simulation results</p>