Re:Norvig's Python programs to practice or demonstrate skills
by emj on Monday November 27, 2017 @07:17PM
(#15793095)
Yes this is a problem when the notebooks grow, but where do you draw the line, the work flow Jupyter uses is perfect for exploratory coding, but it gets complicated quickly
[ Parent
| on HN ]
Re:Norvig's Python programs to practice or demonstrate skills
by Myrmornis on Monday November 27, 2017 @07:42PM
(#15793233)
Yes, to be honest I do much more programming than exploratory data analysis currently. FWIW, here's how I use it when I want to use Jupyter:
- Write all my python code in .py files as usual.
- The Jupyter notebook contains calls to functions generating graphical/HTML/etc output, nothing else.
- Either use one of the various `reload*` functionalities to update the state of the persistent python process, or use `ipython console --existing` to create a conventional ipython shell sharing the same kernel as Jupyter and evaluate code in there.