You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I commonly use ptpython for doing one-off jobs with web APIs and such. When the external service is slow, there are a lot of times when I could be doing more than one thing at a time.
Obviously I could do this with multiple ptpython instances, but shared state makes things so much easier.
So I usually end up using threads, but then any output from the multiple things gets all jumbled together.
While there are several ways I can sort it all out myself, it would be pretty cool if ptpython had a simple way to say, "Run this function in the background and redirect any output it generates or input it requests to this other pane.
Or, better even, a way to split the window and have multiple REPL instances running in the same interpreter.
Obviously, if this would be an insane amount of work, just say, "No." But, if it's not too difficult, it would make ptpython an even more powerful tool for seat-of-the-pants data processing.
The text was updated successfully, but these errors were encountered:
I commonly use ptpython for doing one-off jobs with web APIs and such. When the external service is slow, there are a lot of times when I could be doing more than one thing at a time.
Obviously I could do this with multiple ptpython instances, but shared state makes things so much easier.
So I usually end up using threads, but then any output from the multiple things gets all jumbled together.
While there are several ways I can sort it all out myself, it would be pretty cool if ptpython had a simple way to say, "Run this function in the background and redirect any output it generates or input it requests to this other pane.
Or, better even, a way to split the window and have multiple REPL instances running in the same interpreter.
Obviously, if this would be an insane amount of work, just say, "No." But, if it's not too difficult, it would make ptpython an even more powerful tool for seat-of-the-pants data processing.
The text was updated successfully, but these errors were encountered: