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

klo uo klonuo at gmail.com
Tue Dec 11 14:56:58 EST 2012


If you could employ subprocess for execution it can solve the problem


On Tue, Dec 11, 2012 at 8:25 PM, Trémouilles David <david.trem at gmail.com>wrote:

> Indeed using f2py.compile will not solve the problem.
> Actually the code was directly inspired form compile.
>
> Any other other suggestion to improve that point ?
>
> David
>
> Le 11/12/12 17:32, Bradley M. Froehle a écrit :
> > I would have suggested using the `numpy.f2py.compile` function directly:
> https://github.com/numpy/numpy/blob/master/numpy/f2py/__init__.py
> >
> > … although it appears to use exec_command as well.
> >
> > -Brad
> >
> >
> > On Tuesday, December 11, 2012 at 4:16 AM, klo uo wrote:
> >
> >> 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
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20121211/b4ad9a09/attachment.html>


More information about the IPython-dev mailing list