Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to embed ipython or ptpython inside a window/container #1408

Closed
AnthonyDiGirolamo opened this issue Apr 3, 2021 · 2 comments
Closed

Comments

@AnthonyDiGirolamo
Copy link

Apologies if this is already documented somewhere! I couldn't find an example of how to accomplish this after sifting through prompt_toolkit, ptpython and pyvim.

I'd like to include a buffer inside a prompt_toolkit full_screen hsplit that is basically a python repl (ideally ipython or ptpython). It seems like this is doable, the PythonInput class in ptpython has a self.default_buffer, could that be shoved into an hsplit?

@AnthonyDiGirolamo
Copy link
Author

I spent some time learning+experimenting with ptpython. This question probably makes more sense on that repo so I'll move it there.

@AnthonyDiGirolamo
Copy link
Author

Posted here prompt-toolkit/ptpython#450

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

No branches or pull requests

1 participant