[Numpy-discussion] passing "import numpy as np" as python command arg in 'doze

Robert Kern robert.kern@gmail....
Fri Aug 14 16:20:08 CDT 2009


On Fri, Aug 14, 2009 at 16:16, David Goldsmith<d_l_goldsmith@yahoo.com> wrote:
> Hi!  Please remind: running python in the Windows Terminal (DOS command prompt), how does one pass the command "import numpy as np"?  I tried 'python "import numpy as np"', to no avail.

$ python -h
usage: /Library/Frameworks/Python.framework/Versions/2.5/Resources/PythonApp.app/Contents/MacOS/PythonApp
[option] ... [-c cmd | -m mod | file | -] [arg] ...
Options and arguments (and corresponding environment variables):
-c cmd : program passed in as string (terminates option list)

....

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the NumPy-Discussion mailing list