[Numpy-discussion] passing "import numpy as np" as python command arg in 'doze
Fri Aug 14 17:21:26 CDT 2009
On Fri, Aug 14, 2009 at 6:18 PM, David Goldsmith<firstname.lastname@example.org> wrote:
> Thanks, Skipper & Robert; perhaps I'm misunderstanding what should happen, but this doesn't appear to work in Windoze:
> Begin Terminal output:
> C:\Python26>python -c "import numpy as np"
> End Terminal output.
Because it exits right after it imports.
python -c "import numpy as np; print np.ones(5)"
Should print an array of ones and then return you to the prompt.
More information about the NumPy-Discussion