[PyQt] how to open a gui module?

dcassidy36 at mass.rr.com dcassidy36 at mass.rr.com
Tue Mar 2 21:36:40 GMT 2010

Can you post some sample code of what you are trying to do?
 -Demetrius Cassidy

---- patx at patx.me wrote: 

I have coded a GUI, in a .py... It is called foo.py. Then in another GUI,
bar.py, I need to be able to open/display/execute foo.py. So basically I
need to use the following:

        self.connect(self.pb1, QtCore.SIGNAL('clicked()'),

So self.pb1 would be a PushButton and self.open_foo would be the function
that would open foo.py.

How would I do this?

patx, patx.me

More information about the PyQt mailing list