Difference between import numpy and import numpy as np
numpy is the top package name, and doing import numpy doesn’t import submodule numpy.f2py. When you do import numpy it creats a link that points to numpy, but numpy is not further linked to f2py. The link is established when you do import numpy.f2py In your above code: Here is the difference between import numpy.f2py and import numpy.f2py as myf2py: import numpy.f2py put numpy into local symbol table(pointing to numpy), and … Read more