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

how to create new "type" pipe, queue, and stack in ipython interactive namespace #11842

Open
gityou123 opened this issue Aug 2, 2019 · 2 comments

Comments

@gityou123
Copy link

This maybe a request for further development, but I would find it very useful to be able to have processes running in the background as pipes, queues, and stacks in the interactive namespace the the ability to turn on and off like a terminal process run/kill.

Any suggestions or comments?

@Carreau
Copy link
Member

Carreau commented Aug 3, 2019

You want to look at Python documentation, and look at threading, subprocess... etc.
you can get a handle to IPython itself using ip.get_ipython() (injected in builtins), and then access ip.user_ns, which is the user namespace.

If you are using IPython more as a shell, I would suggest https://xon.sh/ which does have some of these features.

@gityou123
Copy link
Author

gityou123 commented Aug 5, 2019 via email

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

2 participants