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

klo uo klonuo@gmail....
Tue Dec 11 06:16:33 CST 2012


Thanks for working on this.
On Windows it won't run:

========================================
Could not locate executable C:Python27pythonw.exe
Executable C:Python27pythonw.exe does not exist
========================================

Obvious issue with backslash at some point

Is distutil.exec_command only way to do this?
On Windows it will look "ugly" as it pops command line window on command
execution


On Tue, Dec 11, 2012 at 10:53 AM, Trémouilles David <david.trem@gmail.com>wrote:

>  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> 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 listIPython-User@scipy.orghttp://mail.scipy.org/mailman/listinfo/ipython-user
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20121211/dd0fe9f8/attachment.html 


More information about the IPython-dev mailing list