<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 28, 2015 at 9:06 AM, tim Rowledge <span dir="ltr">&lt;<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">I want to drive some Raspberry Pi add-ons via FFI; the problem being that many of them only have support software provided in Python.<br>
<br>
Can I call python code from FFI? Specifically on ARM linux, obviously, this being for a Pi.<br>
<br>
The alternative would appear to be digging through the python code (oh yuck) to find out what happens right at the very bottom of it and then building back up from there. Not the most efficient way to get flashyblinkenlightsparkenpopper.<br>
I’m sure googling would list a gazillion pages but some pointers to *good* ones would save me a lot of time.<br>
<br>
tim<br>
---<br></blockquote><div> </div><div>Even though its for Pharo, you might take a look at Kilon&#39;s pyAtlas project<br>  <a href="https://github.com/kilon/pyAtlas">https://github.com/kilon/pyAtlas</a><br>  <a href="http://forum.world.st/ANN-Ephestos-Using-and-Coding-Blender-from-inside-Pharo-td4767945.html">http://forum.world.st/ANN-Ephestos-Using-and-Coding-Blender-from-inside-Pharo-td4767945.html</a></div><div>which he wrote as part of his Ephestos project here</div><div>   <a href="http://www.smalltalkhub.com/#!/~kilon/Ephestos">http://www.smalltalkhub.com/#!/~kilon/Ephestos</a></div><div> </div><div>Though I see your discover that the Python library is written in C may be a better alternative. </div><div> </div><div>cheers -ben</div></div></div></div>