nbtutor icon indicating copy to clipboard operation
nbtutor copied to clipboard

Don't run a code cell twice

Open lgpage opened this issue 9 years ago • 0 comments

A cell's code is pointlessly re-run again via ipython to get the "<ipython-input-{0}-{1}>" f_code.co_filename set and the code cached.

I don't know enough, yet, about the IPython API to do this better inside the debugger

https://github.com/lgpage/nbtutor/blob/master/nbtutor/ipython/magic.py#L66

lgpage avatar Dec 06 '16 17:12 lgpage