Re: IPython Kernel Connection File Location

2015-12-22 Thread Rafi Bin-Nun
This is an issue with the kernel connection file (kernel-X.json) location. connect.py is expecting it in ~\.ipython\profile_default\security and instead it's being placed in ...\AppData\Roaming\jupyter\runtime. Updating c.ConnectionFileMixin.connection_file in

Getting ipython-exec working

2015-12-21 Thread Rafi Bin-Nun
Hi, While I'm able to see IPython variables in Leo and Leo variables in IPython and can't seem to get Leo nodes to execute in IPython. When I hit ctrl-shift-i with a Leo node selected, nothing seems to happen. Is this what's supposed to happen? ...in Leo: ctrl-shift-i on node with body: b =100

Re: Configuration Screipt Pattern

2015-12-21 Thread Rafi Bin-Nun
Thanks Jacob and Terry, This is really helpfull. I didn't know about c.config.getxxx, that seems like a good way to start. Rafi -- 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,

Re: Jupyter vs IPython

2015-12-21 Thread Rafi Bin-Nun
:51:39 PM UTC-5, Rafi Bin-Nun wrote: > > Hi, When launching Leo with the IPython bridge python launchLeo.py > --ipython I get what's listed below... am I doing something wrong? > > > C:\Program Files (my)\Leo-5.1-final>python launchLeo.py --ipython > C:\Program Files &

Configuration Screipt Pattern

2015-12-21 Thread Rafi Bin-Nun
What's the pattern for creating Python configuration files in Leo? Should Leo create a file which the script then reads or should the script try to key off of Leo nodes directly? I'm new to Leo, so I'm sorry if I'm asking the obvious. Thanks in advance, Rafi -- You received this message

Re: Configuration Screipt Pattern

2015-12-21 Thread Rafi Bin-Nun
Thanks Terry, Let me re-phrase the question in those terms... When running Python scripts from Leo, should Leo build a configparser config file and have the python script read it in with configparser.read(), or should the Python script pull the configuration information directly from Leo

Jupyter vs IPython

2015-12-20 Thread Rafi Bin-Nun
Hi, When launching Leo with the IPython bridge python launchLeo.py --ipython I get what's listed below... am I doing something wrong? C:\Program Files (my)\Leo-5.1-final>python launchLeo.py --ipython C:\Program Files (my)\Anaconda3_py35\lib\site-packages\IPython\kernel\__init__ .py:13: