[PyQt] IPC in PyQt4

David Boddie david at boddie.org.uk
Mon Oct 24 22:30:54 BST 2011


On Sat, 22 Oct 2011 10:00:43 +0800, zw g wrote:

> Could someone tell me that what is the best or recommended approach to do
> the IPC(Inter-Process Communication) thing?
>
> QProcess?
> QSharedMemory?
> Or just socket?

It depends on how your application works, whether or not you want a
cross-platform solution, and what other applications you will be
communicating with.

If you control both ends of the communication, all of the above will work.
There are Qt examples for these, and some of these may have been ported to
Python.

There is also D-Bus for Unix/Linux applications.

David


More information about the PyQt mailing list