title: Difference between import numpy and import numpy as np
body: <p>I understand that when possible one should use </p>
  
  <pre><code>import numpy as np
  </code></pre>
  
  <p>This helps keep away any conflict due to namespaces. But I have noticed that while the command below works</p>
  
  <pre><code>import numpy.f2py as myf2py
  </code></pre>
  
  <p>the following does not</p>
  
  <pre><code>import numpy as np
  np.f2py #throws no module named f2py
  </code></pre>
  
  <p>Can someone please explain this?</p>