[PyKDE] Re: PyQt v4 Roadmap

David Boddie david at boddie.org.uk
Thu Feb 17 21:32:14 GMT 2005

On Thu, 17 Feb 2005 15:22:26, Phil Thompson wrote:

> The separate Qt v4 libraries will be wrapped as separate Python modules.
> The module names will be the same as the corresponding library (eg.
> QtCore, QtGui) and be grouped as a single Python package called PyQt4. The
> suggested programming style for new applications would then be:
> import sys
> from PyQt4 import QtGui
> app = QtGui.QApplication(sys.argv)

Have you considered calling the package qt4? Then you could write

  from qt4 import QtGui

instead. I suppose that it's mainly a matter of taste unless there
are case-insensitivity issues with package names on various platforms.


More information about the PyQt mailing list