News for hackers. Stuff that matters.
Re:How to Grow Software Architecture out of Jupyter Notebooks by opium_tea on Wednesday December 12, 2018 @02:25AM (#18662004)
One method I use fairly frequently is to combine ipdb and importlib. You can set a breakpoint in one module, after some time intensive task, and pause there in your console. Write some code in another module - your working module - and then import it from the ipdb prompt. You can then make some changes to your working module and use importlib.reload(working_module). It will reload that module practically instantaneously and execute any top level code.

There are no comments on this comment yet.