<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I pushed an updated version that does not use "exec_command"<br>
and that should work on windows...<br>
<br>
May you give it a try ?<br>
<br>
Regards,<br>
<br>
David<br>
<br>
<div class="moz-cite-prefix">Le 11/12/12 13:16, klo uo a écrit :<br>
</div>
<blockquote
cite="mid:CAA-8Ld9dECH+Vi_pf-61BUFVKHPu4bJe5-CBMZPTHury5C3psg@mail.gmail.com"
type="cite">Thanks for working on this.<br>
On Windows it won't run:<br>
<br>
========================================<br>
Could not locate executable C:Python27pythonw.exe<br>
Executable C:Python27pythonw.exe does not exist<br>
========================================<br>
<br>
Obvious issue with backslash at some point<br>
<br>
Is distutil.exec_command only way to do this?<br>
On Windows it will look "ugly" as it pops command line window on
command execution<br>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">On Tue, Dec 11, 2012 at 10:53 AM,
Trémouilles David <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:david.trem@gmail.com"
target="_blank">david.trem@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi,<br>
<br>
Finally, thanks to Thomas entry point, I gave a try at
implementing<br>
some Fortran cell magic based on f2py. This is cell_magic
only with<br>
almost no argument available. But this is fully functional
:-)<br>
<br>
I've asked for a pull request available here:<br>
<a moz-do-not-send="true"
href="https://github.com/ipython/ipython/pull/2674"
target="_blank">https://github.com/ipython/ipython/pull/2674</a><br>
<br>
A demo notebook is available here:<br>
<a moz-do-not-send="true"
href="http://nbviewer.ipython.org/4257286/"
target="_blank">http://nbviewer.ipython.org/4257286/</a><br>
<br>
Comments, suggestions and feature requests are very
welcome :-)<br>
<br>
Regards,<br>
<br>
David<br>
<br>
<div>Le 07/12/12 14:15, Thomas Kluyver a écrit :<br>
</div>
<blockquote type="cite">
<div class="gmail_extra">
<div class="gmail_quote">On 7 December 2012 12:49,
David Tremouilles <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:david.trem@gmail.com"
target="_blank">david.trem@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> I'm wondering
if there is any %%fortran magic available out
there ?<br>
Does anybody tried to implement this ?</blockquote>
</div>
<br>
I don't think anyone's done it yet. If you want to
have a go, a good starting point would be the %%cython
magic we ship as an extension:<br>
<a moz-do-not-send="true"
href="https://github.com/ipython/ipython/blob/master/IPython/extensions/cythonmagic.py"
target="_blank">https://github.com/ipython/ipython/blob/master/IPython/extensions/cythonmagic.py</a><br>
<br>
Best wishes,<br>
Thomas<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
IPython-User mailing list
<a moz-do-not-send="true" href="mailto:IPython-User@scipy.org" target="_blank">IPython-User@scipy.org</a>
<a moz-do-not-send="true" href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a moz-do-not-send="true"
href="http://mail.scipy.org/mailman/listinfo/ipython-dev"
target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
IPython-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/ipython-dev">http://mail.scipy.org/mailman/listinfo/ipython-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>