title: Python PEP8: Blank lines convention
body: <p>I am interested in knowing what is the Python convention for newlines between the program parts? For example, consider this:</p>
  
  <pre><code>import os
  
  def func1():
  
  def func2():
  </code></pre>
  
  <p>What should be the ideal newline separation between:</p>
  
  <ol>
  <li>The <code>import</code> modules and the
  functions?</li>
  <li>The functions themselves? </li>
  </ol>
  
  <p>I have read <a href="https://www.python.org/dev/peps/pep-0008/" rel="noreferrer">PEP8</a>, but I wanted to confirm the above two points.</p>