<br>IPC and other system dependent functionality was probably added to Qt, because C++ standard library lacks it. But, since Python has powerful crossplatform standard library
 and lot of free packages, I'm not sure you should use PyQt for your IPC. It is often good idea to divide GUI and core functionality.<br>Try looking at Python native libs.<br><br>Best Regards,<br>Andrei Kopats<br><br>
<div class="gmail_quote">2011/10/25 zw g <span dir="ltr"><<a href="mailto:pekingmaster@gmail.com">pekingmaster@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thank you David.<div><br></div><div>Yes, i need the cross-platform feature.</div><div><br></div><div>And yes, i controlled both ends of the communication, and each app has it's own GUI window.</div><div>All
 my want is send some messages from one side to another, to let the 
target one do some internet searching thing then display the result on 
it's UI.</div>


<div><br></div><div>More suggestion?</div><div><span style="background-color:transparent">Thanks all the time.</span></div><div><br></div><div><br></div><div>Gui<div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Tue, Oct 25, 2011 at 5:30 AM, David Boddie <span dir="ltr"><<a href="mailto:david@boddie.org.uk" target="_blank">david@boddie.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>On Sat, 22 Oct 2011 10:00:43 +0800, zw g wrote:<br>
<br>
> Could someone tell me that what is the best or recommended approach to do<br>
> the IPC(Inter-Process Communication) thing?<br>
><br>
> QProcess?<br>
> QSharedMemory?<br>
> Or just socket?<br>
<br>
</div>It depends on how your application works, whether or not you want a<br>
cross-platform solution, and what other applications you will be<br>
communicating with.<br>
<br>
If you control both ends of the communication, all of the above will work.<br>
There are Qt examples for these, and some of these may have been ported to<br>
Python.<br>
<br>
There is also D-Bus for Unix/Linux applications.<br>
<br>
David<br>
_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br>