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.

David

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to