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

Trémouilles David david.trem@gmail....
Tue Dec 11 03:53:33 CST 2012


Hi,

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:
https://github.com/ipython/ipython/pull/2674

A demo notebook is available here:
http://nbviewer.ipython.org/4257286/

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

Regards,

David

Le 07/12/12 14:15, Thomas Kluyver a écrit :
> On 7 December 2012 12:49, David Tremouilles <david.trem@gmail.com 
> <mailto:david.trem@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@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

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


More information about the IPython-dev mailing list