<div dir="ltr">Manuel-<br>Try my fork of the MissingPy library, I&#39;ve brought it up to date and it seems to function ok with current ghc/python.<br><br><a href="http://www.github.com/arjuncomar/missingpy.git">www.github.com/arjuncomar/missingpy.git</a><br>

<br>The standalone branch also removes a lot of the extra dependencies MissingPy has for extra functionality you probably don&#39;t need.<br><br>Thanks,<br>Arjun<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Fri, Oct 4, 2013 at 7:08 PM, Manuel Gómez <span dir="ltr">&lt;<a href="mailto:targen@gmail.com" target="_blank">targen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi list,<br>
<br>
What’s the preferred way of calling into Python from Haskell?  I’ve<br>
found MissingPy[0], but it seems to be somewhat bitrotten and a couple<br>
of experiments yielded segfaults.  There’s also the cpython<br>
package[1], but that seems to require Python 3.3, and I’m trying to<br>
call into code written for 2.7.<br>
<br>
Are there any other alternatives, apart from direct execution of a<br>
Python interpreter with forkProcess and such?<br>
<br>
[0]: &lt;<a href="http://hackage.haskell.org/package/MissingPy" target="_blank">http://hackage.haskell.org/package/MissingPy</a>&gt;<br>
[1]: &lt;<a href="http://hackage.haskell.org/package/cpython" target="_blank">http://hackage.haskell.org/package/cpython</a>&gt;<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>