title: Python warning message output
body: <p>With this code:</p>
  
  <pre><code>#! /usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import sys
  import warnings
  
  if sys.version_info[0] &gt;= 3:
      ...
  else:
      warnings.warn("Python 3.x is required!", RuntimeWarning)
  </code></pre>
  
  <p>And the else output I get is:</p>
  
  <pre><code>Warning (from warnings module):
    File "C:\Users\..., line 10
      warnings.warn("Python 3.x is required!", RuntimeWarning)
  RuntimeWarning: Python 3.x is required!
  </code></pre>
  
  <p>Is there any way of getting rid of the first 3 lines of the output and only display "RuntimeWarning: Python 3.x is required!" ?</p>