On 12/12/2008 11:20 PM, Paul A. Giannaros wrote:
On Fri, Dec 12, 2008 at 9:17 PM, Marcell Mars <[email protected]> wrote:
On Fri, Dec 12, 2008 at 7:09 PM, Paul A. Giannaros <[email protected]> wrote:
Any thoughts on this?
do you want to do something like:
import PyQt4.QtCore as Qt
import PyQt4.QtGui also as Qt
Sort of. It's mainly about the naming, but I envision it working something like:
from PyQt4 import Qt
import PyQt4.QtGui
import PyQt4.QtCore
a = Qt.Application(....)
b = Qt.Label(.....)
etc
Doh, so you're proposing that importing a module has the side effect of
populating a different namespace. This is absolutely implicit and
counter-intuitive, and has no equivalent in the standard library nor any
external library I can think of.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt