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 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 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 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 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 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 href="mailto:IPython-User@scipy.org" target="_blank">IPython-User@scipy.org</a>
<a 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 href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a 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>