On Fri, Oct 7, 2011 at 2:38 PM, Ville M. Vainio <[email protected]> wrote:

> I'd recommend you to google "embedding ipython" and work from there. I
> will help with any questions I can.

Thanks.  These are useful:
http://ipython.org/ipython-doc/dev/interactive/reference.html

http://ipython.org/ipython-doc/dev/api/generated/IPython.lib.inputhook.html#module-IPython.lib.inputhook

Especially:

QQQ
IPython has excellent support for working interactively with Graphical
User Interface (GUI) toolkits, such as wxPython, PyQt4, PyGTK and Tk.
This is implemented using Python’s builtin PyOSInputHook hook. This
implementation is extremely robust compared to our previous
thread-based version. The advantages of this are:

    * GUIs can be enabled and disabled dynamically at runtime.
    * The active GUI can be switched dynamically at runtime.
    * In some cases, multiple GUIs can run simultaneously with no problems.
    * There is a developer API in IPython.lib.inputhook for
customizing all of these things.
QQQ

It occurs to me that it might be possible to run (the new) IPython
from blender, and then run Leo from IPython.  That is, IPython might
solve some interprocess communications problems that would otherwise
bedevil us.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to