On Tue, Mar 23, 2010 at 11:49 PM, Christopher Barker
<[email protected]> wrote:
> Hi folks,
>
> I've forwarded this from the IPython-dev list -- they are doing some really
> cool stuff, and this looks like something EVERY Python IDE should use for
> running python code from the IDE. Thought you all might want to know.
>
> -Chris

Thanks for this, Chris!

FWIW, IDLE uses a subprocess for its shell, communicating with it via
a pure-Python RPC mechanism written especially for it. I couldn't
agree more that this is something any UI which embeds a Python
interpreter should do.

However, 0mq sounds like overkill for just running commands in a
separate process. Such use doesn't really require the super-efficient
message-passing which 0mq is meant to provide, and using 0mq for this
adds a dependency which isn't pure-Python.

IDLE's RPC mechanism is old and quirky, so I wouldn't necessarily
recommend using it for other projects, but there are other pure-Python
alternatives such as RPyC and XML-RPC which fit the bill.

Just my two cents...

- Tal


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to