title: Creating a short alias for imported variable - import types.SimpleNamespace as Ns not working
body: <p>Namespaces are widely used in Python, but it appear that creating a namespace has no short form, for example requires the lengthy <code>types.SimpleNamespace</code>, with prior <code>import types</code>.</p>
  
  <p>So is there a syntax shortcut for creating a namespace?</p>
  
  <p>It is not possible to do <code>import types.SimpleNamespace as Ns</code>, since it gives the error:</p>
  
  <pre><code>ImportError: No module named 'types.SimpleNamespace'; 'types' is not a package
  </code></pre>