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

Hiding exercise solutions #22

Open
moorepants opened this issue Jul 7, 2017 · 4 comments
Open

Hiding exercise solutions #22

moorepants opened this issue Jul 7, 2017 · 4 comments

Comments

@moorepants
Copy link
Member

Just came across this:

https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/exercise

Looks pretty cool.

@ixjlyons
Copy link
Collaborator

ixjlyons commented Jul 7, 2017

That's pretty neat. I just checked it out and it does seem to work with the Cython stuff (no reason it wouldn't but %load, for example, doesn't because of the comment it adds at the top), plus it does run the solution by default so this should work well in testing on CI.

One potential drawback (depending on how you see it) is it requires the extension to be installed, so something like nbviewer will just show the solution cell(s) plainly.

@bjodah
Copy link
Member

bjodah commented Jul 8, 2017

Looks cool. I won't have time to change my notebooks to use this though.

@moorepants
Copy link
Member Author

Yeh, it may be too late. We basically have today to finalize things. Kenny and I get to Austin late Sunday.

@ixjlyons
Copy link
Collaborator

ixjlyons commented Jul 8, 2017

I have a bit more to do today anyway. I guess one issue is adding a dependency at this point -- attendees need time to get the environment installed and probably many have done it already.

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

3 participants