numpy-100 icon indicating copy to clipboard operation
numpy-100 copied to clipboard

about question 5

Open toro1818 opened this issue 2 years ago • 3 comments

I run the code as the answer shows.But get ''' Exception: File 'python.py'` not found. '''

toro1818 avatar Jun 26 '22 09:06 toro1818

Are you typing the command from the shell or from a Jupyter notebook? And what is the exact command you typed?

rougier avatar Jun 27 '22 05:06 rougier

%run python -c "import numpy; numpy.info(numpy.add)"

(In jupyter notebook)

toro1818 avatar Jun 27 '22 13:06 toro1818

Sry, I misunderstood the question 5. I interpreted it as ''How to get the documentation of the numpy add function using the cmd way in jupyter?''

toro1818 avatar Jun 27 '22 13:06 toro1818