Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about question 5 #185

Open
toro1818 opened this issue Jun 26, 2022 · 3 comments
Open

about question 5 #185

toro1818 opened this issue Jun 26, 2022 · 3 comments

Comments

@toro1818
Copy link

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

@rougier
Copy link
Owner

rougier commented Jun 27, 2022

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

@toro1818
Copy link
Author

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

(In jupyter notebook)

@toro1818
Copy link
Author

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?''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants