Hacker News new | ask | show | jobs
by dec0dedab0de 2846 days ago
At that point you should put most of your work in a separate file, and just import the stuff you need for your demo.
2 comments

I do not want to hide anything, my only reason to use notebooks is to put all the computations inside them.
In such a use case, the whole point is showing your work in a 'literate programming' manner i.e. having the appropriate code that's being run be right there between the descriptive text, instead of just running do_something() that you imported from somewhere.