Yes, I only want to launch Pd from Python and the status of some objects in return, so nothing too critical.<br><br>I'll try the OSC example.<br><br>Cheers,<br><br>Pierre.<br><br><div class="gmail_quote">2013/1/21 <a href="mailto:padawan12@obiwannabe.co.uk">padawan12@obiwannabe.co.uk</a> <span dir="ltr"><<a href="mailto:padawan12@obiwannabe.co.uk" target="_blank">padawan12@obiwannabe.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div>
</div>
<div>
With popen you'll quickly discover the joys of unix buffers, queueing
</div>
<div>
and all the reasons libPd was invented :)
</div>
<div>
</div>
<div>
Probably a frustrating journey if you want to do any kind of time
</div>
<div>
critical musical control this way. If transferring bulk data, or launching
</div>
<div>
Pd instances for control by other sources is your aim, then
</div>
<div>
it will be okay.
</div><div><div class="h5">
<div>
</div>
<div>
<br>On 21 January 2013 at 14:42 Pierre Massat <<a href="mailto:pimassat@gmail.com" target="_blank">pimassat@gmail.com</a>> wrote:
</div>
</div></div><div>
<blockquote style="margin-left:0px;padding-left:10px;border-left:solid 1px blue" type="cite"><div><div class="h5">
Dear List,
<br>
<br>I've been working a lot with Python and Pd lately, and i would like to have better means of communication between the two.
<br>I know next to nothing about inter-process communication, I know nothing about FUDI (except that it's the protocol used by pdsend and pdreceive), and I have no idea what pdreceive was originally designed for. I've only used the subprocess (formerly popen) module in python, but i don't know how to use it with streams of messages coming from the standard output of a running process.
<br> I don't want to use libpd for now because i only need to send and receive simple messages between Python and Pd.
<br>
<br>Can someone please provide a few hints ?
<br>
<br>Cheers!
<br>
<br>Pierre.
<br></div></div><div class="im"> _______________________________________________
<br><a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list
<br>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a>
</div></blockquote>
<br>
</div>
</div></blockquote></div><br>