title: Python 3.7 and above: how to determine Linux distribution?
body: <p>Since the <a href="https://docs.python.org/3/library/platform.html#platform.linux_distribution" rel="nofollow noreferrer">Python Docs</a> clearly state that <code>platform.linux_distribution()</code> is:</p>
  
  <blockquote>
    <p>Deprecated since version 3.5, will be removed in version 3.7.</p>
  </blockquote>
  
  <p>What would be the correct and future-proof way to detect a Linux Distribution via Python?</p>