[PyKDE] How to do *INTERACTIVE* plotting with PyQt (or PyQwt)

Gerard Vermeulen gvermeul at grenoble.cnrs.fr
Thu Sep 12 09:24:00 BST 2002


On Wed, Sep 11, 2002 at 02:14:10PM -0700, Peter Lipa wrote:

[ snip ]

> > >
> > > Jonathan Gardner suggested using sockets for communication 
> > between the
> > > threads - something I haven't tried yet, but I doubt that 
> > it would solve
> > > the threading problem. However, I still have to think about 
> > that some
> > > more....
> > 
> > I'd advise against that solution, also against any solution 
> > that involves two 
> > processes and redirected stdin/stdout as comm channel. Been 
> > there, failed
> > that.
> 
> Thanks for your insight here. I might have tried such an alternate approach
> for a few days (or longer?). That saves me some valuable time.
> 
I think I disagree with Boudewijn on this point. IMHO, Eric (the PyQt debugger)
works in this way: there is a DebugServer (run from Eric) and a DebugClient,
which is a separate process. The communication is with sockets.

The DebugServer, DebugClient and Shell give you more power than my
attempts. It looked a little bit overkill for what I needed.

It is a way to sneak out, if Qt and MFC do not want to get married.

Gerard




More information about the PyQt mailing list