[IPython-dev] Embryo of Fortran magic based on f2py

Trémouilles David david.trem at gmail.com
Tue Dec 11 04:53:33 EST 2012


Finally, thanks to Thomas entry point, I gave a try at implementing
some Fortran cell magic based on f2py. This is cell_magic only with
almost no argument available. But this is fully functional :-)

I've asked for a pull request available here:

A demo notebook is available here:

Comments, suggestions and feature requests are very welcome :-)



Le 07/12/12 14:15, Thomas Kluyver a écrit :
> On 7 December 2012 12:49, David Tremouilles <david.trem at gmail.com 
> <mailto:david.trem at gmail.com>> wrote:
>     I'm wondering if there is any %%fortran magic available out there ?
>     Does anybody tried to implement this ?
> 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:
> https://github.com/ipython/ipython/blob/master/IPython/extensions/cythonmagic.py
> Best wishes,
> Thomas
> _______________________________________________
> IPython-User mailing list
> IPython-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20121211/8f8cdd15/attachment.html>

More information about the IPython-dev mailing list