[PyQt] ImportError: No module named QtOpenGL

David Boddie david at boddie.org.uk
Sun Apr 29 15:20:17 BST 2007


On Sunday 29 April 2007 12:36:44 +0200, Giovanni Bajo wrote:

> Being blind about this and thinking that "star-imports are bad no matter
> what" is just shooting oneself in the foot. The "star-import is bad"
> coding-standard rule shouldn't be taken literally (like any other
> coding-standard rule); if you understand what it really *means*, you also
> understand that it's not needed for PyQt.

I agree, but I think it's worth pointing out that QtCore contains the
"hex" and "oct" symbols that override the built-in functions with the same
names.

David


More information about the PyQt mailing list