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

David Goldsmith d_l_goldsmith@yahoo....
Fri Aug 14 17:09:31 CDT 2009


Thanks!

DG

--- On Fri, 8/14/09, Robert Kern <robert.kern@gmail.com> wrote:

> From: Robert Kern <robert.kern@gmail.com>
> Subject: Re: [Numpy-discussion] passing "import numpy as np" as python command arg in 'doze
> To: "Discussion of Numerical Python" <numpy-discussion@scipy.org>
> Date: Friday, August 14, 2009, 2:20 PM
> 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
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the NumPy-Discussion mailing list