valuespace.py is now adapted to use ipython namespace at all times, if it's
enabled (with --ipython command line switch).

It's hard to briefly explain what valuespace plugin does and how it relates
to ipython, but if you are curious check out Contrib branch
Projects/valuespace.

Basically, it provides a "workbook" like way to get data from Leo document
to the namespace, and do calculations based on that data. Having this data
be accessible to the ipython instance makes it convenient to interact and
poke around with the same data.


On Sun, Jan 27, 2013 at 3:56 AM, Ville M. Vainio <[email protected]> wrote:

> Added a new command,
>
> alt-x ipython-exec
>
> This executes the currently selected node/script in ipython kernels
> namespace
>
> This is a replacement for the old push-to-ipython command.
>
> Going forward, I'm looking into adapting valuespace.py plugin to use
> ipython namespace when it's available.
>
>
> On Fri, Jan 25, 2013 at 11:17 AM, Ville M. Vainio <[email protected]>wrote:
>
>> Just in the way of clarification - push-to-ipython doesn't currently do
>> that, but a future incarnation can.
>>
>>
>> On Fri, Jan 25, 2013 at 9:44 AM, Ville M. Vainio <[email protected]>wrote:
>>
>>> At least push-to-ipython can evaluate scripts in ipython namespace (you
>>> can see where that namespace dict is from my code).
>>>
>>> Now that we know it works on windows as well, do you want me to merge
>>> the code with leo trunk?
>>>
>>> Also, enthought python distribution has PyQt too? Maybe it could be a
>>> good recommendation for Windows users to use that when installing Leo on
>>> blank machine...
>>>
>>>
>>> On Fri, Jan 25, 2013 at 3:28 AM, Edward K. Ream <[email protected]>wrote:
>>>
>>>> On Thu, Jan 24, 2013 at 2:01 PM, Ville M. Vainio <[email protected]>wrote:
>>>>
>>>>> Leo finally caught up with modern IPython ;-).
>>>>>
>>>>
>>>> Hurray!  This is great stuff.
>>>>
>>>> I have it running on both Linux and Windows7, using the enthought
>>>> distro as Tom suggested.  Thanks, Tom.
>>>>
>>>> It's clear from your demo that IPython can access Leo data.  But the
>>>> old push-to-ipython command crashes.  Is there a way to pass scripts from
>>>> Leo to ipython?
>>>>
>>>> Edward
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "leo-editor" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/leo-editor?hl=en.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>
>>
>

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


Reply via email to