title: Automatically loading environment variables in a Flask app?
body: <p>I have a small Flask application which uses the <a href="https://pypi.org/project/python-dotenv/" rel="nofollow noreferrer">python-dotenv</a> lib to load environment variables that I store in a file named <code>.env</code>. Everything works just fine, but I recently realized that I actually never call the <code>load_dotenv()</code> method, so I'm not sure how it can work. 
  Just out of curiosity I tried to play around it a little bit:</p>
  
  <ul>
  <li>I removed even the import (<code>from dotenv import load_dotenv</code>) - Still works</li>
  <li>I renamed <code>.env</code> to <code>something_else.env</code> - Doesn't work</li>
  <li>I uninstalled <code>python-dotenv</code> with <code>pip</code> - Doesn't work</li>
  </ul>
  
  <p>I'm using version <code>0.10.3</code> and I have read the docs but didn't find anything about automatic loading of environment variables.</p>
  
  <p>Any idea on how it can be possible? I could take a look at the code of <code>python-dotenv</code> but I'm quite new to python and I wish to spend my time on something more useful, but this thing just bugs me.</p>