On Mon, Jun 8, 2009 at 4:47 PM, Christopher Barker <span dir="ltr"><<a href="mailto:Chris.Barker@noaa.gov">Chris.Barker@noaa.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Gael Varoquaux wrote:<br>
> Click in the menu: 'new file in remote browser', or something like this.<br>
> If you have editra installed, it will launch it, with a special plugin<br>
> allowing you to execute selected code in EPDLab.<br>
<br>
</div>very cool, thanks!<br>
<div class="im"><br>
-Chris<br>
<br>
</div></blockquote><div><br>IPython's edit command works in a similar fashion, too.<br>
<br>
edit test.py<br>
<br>
open an existing file or creates one, and right after you close the file IPy executes the content.<br>
<br>
These are from ipy_user_conf.py file:<br>
<br>
# Configure your favourite editor?<br>
# Good idea e.g. for %edit os.path.isfile<br>
<br>
import ipy_editors<br>
<br>
# Choose one of these:<br>
<br>
ipy_editors.scite()<br>
#ipy_editors.scite('c:/opt/scite/scite.exe')<br>
#ipy_editors.komodo()<br>
#ipy_editors.idle()<br>
# ... or many others, try 'ipy_editors??' after import to see them<br>
<br clear="all">Gökhan <br></div></div><br>