title: I want to get python to output a png file
body: <p>I am currently trying to get a picture that I have, or even one on the web that I can link to, to output from my python code from an if statement.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>if c &gt;= 50:
      print '\nYou have been mauled by a bear\n'
      # I want to output a picture of a bear here
      quit()
  </code></pre>
  
  <p>I have a counter for c, and if it hits 50 I want it to print out that You have been mauled by a bear, and then on the screen have a bear pop up, whether the bear image is just a file in the same folder, or if it links to a webpage that I have the bear image hosted at.</p>
  
  <p>Is this possible?</p>