Skip to content

Don't run a code cell twice #21

@lgpage

Description

@lgpage

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions