<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><pre>[quote]<br>What would really make my day is the ability to do this:<br><br>[~]|29> s = "some sring"<br>[~]|30> %leo s<br><br>and then you would have the 's' as node in leo, and editing the string<br>(or perhaps some other variable type, e.g. pretty printed array) would<br>update the IPython variable s as well!<br>[end quote]<br><br>A most interesting idea. There are similar kinds of interactions possible<br> now between Leo and Vim or Emacs, so such a scheme might be possible<br>with not too much work. See the vim.py and xemacs.py plugins.<br><br>This scheme happily keeps the separation between Leo and IPython. That is,<br>there would be no need to emulate IPython's powerful features in Leo.<br><br>As far as "%leo s" goes, s could be stored in a temp file, and then<br>Leo
could be opened with a new command line option,<br>say --s <tempfilename>. Such a command-line option could easily<br>be added. <br><br>> Too bad I was unable to install Leo now that I tried - the .exe<br>installer complained that I did not have python installed (which is of<br>course untrue, the standard distutils .exe installer worked ok...)<br><br>The .exe installer is a minor convenience, or inconvenience in your case.<br>To install Leo, just download and unpack leo-4.4.6-b2.zip from<br><span><a target="_blank" href="http://sourceforge.net/project/showfiles.php?group_id=3458&package_id=29106&release_id=568796">http://sourceforge.net/project/showfiles.php?group_id=3458&package_id=29106&release_id=568796</a></span><br>You can put the Leo folder anywhere convenient.<br><br>Then add the folder to your sys.path. HTH.<br><br>Edward<br></pre><div style="text-align:
left;"><br></div>--------------------------------------------------------------------<br>Edward K. Ream email: edreamleo@yahoo.com<br><span>Leo: <a target="_blank" href="http://webpages.charter.net/edreamleo/front.html">http://webpages.charter.net/edreamleo/front.html</a></span><br>--------------------------------------------------------------------<div><br></div></div><br>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>