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

klo uo klonuo@gmail....
Tue Dec 11 13:56:58 CST 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@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@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> 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/b4ad9a09/attachment.html 


More information about the IPython-dev mailing list