Re: *** GMX Spamverdacht *** Re: [PyQt] ImportError: No module named QtOpenGL

2007-04-30 Thread Mark Summerfield
On Sun 29-Apr-07, Giovanni Bajo wrote: On 29/04/2007 6.25, Andreas Pakulat wrote: Right, the motivation for the Qt.py package is simply convenience for porting PyQt3 code. Which doesn't mean you should use it in new PyQt4 programs. Using something like this creates enough convience while

Re: *** GMX Spamverdacht *** Re: [PyQt] ImportError: No module named QtOpenGL

2007-04-30 Thread Giovanni Bajo
On 30/04/2007 9.11, Mark Summerfield wrote: But I agree with the general point that using import * is reasonable when you have a large library like PyQt4---providing that library has sensible export behaviour. For example, I _assume_ that the PyQt4 libraries will only export things with names

Re: *** GMX Spamverdacht *** Re: [PyQt] ImportError: No module named QtOpenGL

2007-04-30 Thread Danny Pansters
On Monday 30 April 2007 14:50:29 Giovanni Bajo wrote: On 30/04/2007 9.11, Mark Summerfield wrote: But I agree with the general point that using import * is reasonable when you have a large library like PyQt4---providing that library has sensible export behaviour. For example, I _assume_

Re: *** GMX Spamverdacht *** Re: [PyQt] ImportError: No module named QtOpenGL

2007-04-29 Thread Phil Thompson
On Sunday 29 April 2007 5:25 am, Andreas Pakulat wrote: On 28.04.07 21:13:38, [EMAIL PROTECTED] wrote: Quoting Andreas Pakulat [EMAIL PROTECTED]: On 28.04.07 23:31:53, Pradnyesh Sawant wrote: Hello, I've written a small pyqt4 code, which on running on an ubuntu 6.10 system gives

Re: *** GMX Spamverdacht *** Re: [PyQt] ImportError: No module named QtOpenGL

2007-04-29 Thread Giovanni Bajo
On 29/04/2007 6.25, Andreas Pakulat wrote: Right, the motivation for the Qt.py package is simply convenience for porting PyQt3 code. Which doesn't mean you should use it in new PyQt4 programs. Using something like this creates enough convience while preserving a clean global namespace: from

Re: *** GMX Spamverdacht *** Re: *** GMX Spamverdacht *** Re: [PyQt] ImportError: No module named QtOpenGL

2007-04-29 Thread Andreas Pakulat
On 29.04.07 11:05:52, Phil Thompson wrote: On Sunday 29 April 2007 5:25 am, Andreas Pakulat wrote: On 28.04.07 21:13:38, [EMAIL PROTECTED] wrote: Quoting Andreas Pakulat [EMAIL PROTECTED]: On 28.04.07 23:31:53, Pradnyesh Sawant wrote: Hello, I've written a small pyqt4 code,

Re: *** GMX Spamverdacht *** Re: [PyQt] ImportError: No module named QtOpenGL

2007-04-28 Thread Andreas Pakulat
On 28.04.07 21:13:38, [EMAIL PROTECTED] wrote: Quoting Andreas Pakulat [EMAIL PROTECTED]: On 28.04.07 23:31:53, Pradnyesh Sawant wrote: Hello, I've written a small pyqt4 code, which on running on an ubuntu 6.10 system gives me the foll error: $ python2.4 updLbl.py Traceback