title: Difference between os.getenv and os.environ.get
body: <p>Is there any difference at all between both approaches?</p>
  
  <pre><code>&gt;&gt;&gt; os.getenv('TERM')
  'xterm'
  &gt;&gt;&gt; os.environ.get('TERM')
  'xterm'
  
  &gt;&gt;&gt; os.getenv('FOOBAR', "not found") == "not found"
  True
  &gt;&gt;&gt; os.environ.get('FOOBAR', "not found") == "not found"
  True
  </code></pre>
  
  <p>They seem to have the exact same functionality.</p>