[Haskell-cafe] Calling Python from Haskell

Arjun Comar nrujac
Fri Oct 4 23:32:30 UTC 2013


Manuel-
Try my fork of the MissingPy library, I've brought it up to date and it
seems to function ok with current ghc/python.

www.github.com/arjuncomar/missingpy.git

The standalone branch also removes a lot of the extra dependencies
MissingPy has for extra functionality you probably don't need.

Thanks,
Arjun


On Fri, Oct 4, 2013 at 7:08 PM, Manuel G?mez <targen at gmail.com> wrote:

> Hi list,
>
> What?s the preferred way of calling into Python from Haskell?  I?ve
> found MissingPy[0], but it seems to be somewhat bitrotten and a couple
> of experiments yielded segfaults.  There?s also the cpython
> package[1], but that seems to require Python 3.3, and I?m trying to
> call into code written for 2.7.
>
> Are there any other alternatives, apart from direct execution of a
> Python interpreter with forkProcess and such?
>
> [0]: <http://hackage.haskell.org/package/MissingPy>
> [1]: <http://hackage.haskell.org/package/cpython>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131004/db6fcaef/attachment.htm>



More information about the Haskell-Cafe mailing list