Skip to content

Conversation

@sonthonaxrk
Copy link

This is an attempt to fix this long running issue. Namely that there is no way to create cells programmatically. If there's a way to set the next input, I think it stands to reason there should be a way to run it. Quite a people on StackOverflow have asked this question too.

ipython/ipython#4983

This adds a new event type called run_next_input as an alternative to set_next_input.

I have also made a corresponding PR on the Jupyter notebook repository to handle this.

I am also looking into how I can add run_next_input to the base interactive shell class.


Thanks for looking at this. I appreciate I might not be going down the correct channels for this kind of change, but I'd love to know your thoughts.

@sonthonaxrk sonthonaxrk changed the base branch from master to 5.4.x January 24, 2021 14:21
@Carreau Carreau added this to the no action milestone Jun 14, 2021
@xl0
Copy link

xl0 commented Jul 1, 2024

@sonthonaxrk I'd love to have this feature. What's the story here, the devs are strongly against it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants