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

Suggestion: Put solutions in .py files #44

Open
sciunto opened this issue Jul 29, 2019 · 1 comment
Open

Suggestion: Put solutions in .py files #44

sciunto opened this issue Jul 29, 2019 · 1 comment

Comments

@sciunto
Copy link
Member

sciunto commented Jul 29, 2019

The idea comes from https://github.com/amueller/scipy-2018-sklearn

Instead of duplicating the notebooks, they use the %load instruction to load py files stored in a solution directory. I think it's brilliant. I moved to this way for my notebooks; it will be much easier to maintain the code, and it makes the repo lighter.

For the tutorial, the lecturer can either provide the solutions or not, can type the solution or load it...

I have to admit that moving to this solution takes some time... :(

@jni
Copy link
Member

jni commented Jul 29, 2019

I like this idea in many cases but it doesn't capture the spontaneity of the tutorial — often students will ask questions that deviate from the original lesson, and it's good to have those recorded. That's harder to do with the .py files vs depositing the notebook somewhere after the tutorial.

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