-
Notifications
You must be signed in to change notification settings - Fork 31
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
Don't use bash magics in Jupyter lesson #64
Comments
Also I would like a good line magic to demonstrate. The only
non-abstract one I could find was timeit (both line and cell), so
didn't know what to demonstrate. Ideally different ones for the demo
and the exercise...
|
the matplotlib one is important and i will show it later |
matplotlib + timeit or/and mention |
- Related: #64 (makes it slightly bettter but not fully fixing) - Introduce %%timeit as first magic since %%bash doesn't work on all OSs. - Not yet removing %%bash, I'd like to add another magic as an extra example to not make it just about %%timeit - I think that %%prun is most likely option for another demo but it should have a longer example that gives a meaningful profile.
Bumping this.
requires a unix system. |
Please really avoid having bash magics in the material. Otherwise instructors will show them and it won't work for 50% of the learners who are on Windows. Notebooks that use bash magics are often less reusable and less movable to other machines. Often they try to do something with the file system which might not be present at the other computer that tries to run this. |
Does not work for some learners on windows and they might think that all magics won't work.
The text was updated successfully, but these errors were encountered: