Difference between "from x.y import z" and "import x.y.z as z" : <p>In situations where you want to import a nested module into your namespace, I've always written it like this:</p>

<pre class="lang-py prettyprint-override"><code>from concurrent import futures
</code></pre>

<p>However, I recently realized that this can be expressed using the "as" syntax as well. See the following:</p>

<pre class="lang-py prettyprint-override"><code>import concurrent.futures as futures
</code></pre>

<p>Which has the subjective advantage of looking more similar to other imports:</p>

<pre class="lang-py prettyprint-override"><code>import sys
import os
import concurrent.futures as futures
</code></pre>

<p>... with the disadvantage of added verbosity.</p>

<p>Is there a functional difference between the two, or is one officially preferred in a PEP or otherwise?</p>
