[SciPy-user] How to solve name mangling ?
Fri Jun 8 05:19:16 CDT 2007
> and now I forget just 1 N, and the program seems to work correctly ...
I think what we're all saying is:
If you start in matlab - for example - it seems like a good idea to do:
from numpy import *
That's how I started.
Gradually, writing code, you begin to realize that it is just much,
much better - for clarity, and for namespace safety, to do
import numpy as N
Of course, if you do that, if you forget an N., you get a syntax error.
And that is the right way to solve your 'what is an array' problem.
It's an N.array
More information about the SciPy-user