2 ms·
I would like something like make for notebook cells inside a repl. I would write the notebook in my text editor (not in a web form) execute "reload" in the rep
by pmarin 8y ago
I would like something like make for notebook cells inside a repl.
I would write the notebook in my text editor (not in a web form) execute "reload" in the repl, execute the cells that have been changed and render the webpage. The output should be a complete self contained html file with everything else embeded and of course not a single line of javascript.
- chubot 8y agoBTW I'm pretty sure that this is exactly what Sweave is. You write in a text editor, and then invoke a batch process to generate an HTML file with mixed code and data. Wikipedia says it does incremental rebuilding, which was news to me. I've never used it, but I know a lot of R users who use it. https://en.wikipedia.org/wiki/Sweave https://en.wikipedia.org/wiki/Sweave
- po84 8y agoIf I understand you correctly, a combination of http://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-notebook http://ipython.readthedocs.io/en/stable/interactive/magics.h... and http://nbconvert.readthedocs.io/en/latest/execute_api.html http://nbconvert.readthedocs.io/en/latest/execute_api.html might get you there. Post if you build something like this!