<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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 class="moz-txt-link-freetext" href="https://github.com/ipython/ipython/pull/2674">https://github.com/ipython/ipython/pull/2674</a><br>
<br>
A demo notebook is available here:<br>
<a class="moz-txt-link-freetext" href="http://nbviewer.ipython.org/4257286/">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 class="moz-cite-prefix">Le 07/12/12 14:15, Thomas Kluyver a
écrit :<br>
</div>
<blockquote
cite="mid:CAOvn4qhROg3a1kbdxKZjcAY3_uyFDb3e5Q7w+UQRgmM0YiDn9Q@mail.gmail.com"
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">https://github.com/ipython/ipython/blob/master/IPython/extensions/cythonmagic.py</a><br>
<br>
Best wishes,<br>
Thomas<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
IPython-User mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a>
</pre>
</blockquote>
<br>
</body>
</html>