(Jun 25, 2013 03:53 AM)PigBacon Wrote: Please don't suggest people use from foo import *; it pollutes the global namespace and can break things without you knowing why really easily.
It's fine to support select functions/modules/classes/whatever (from foo import bar, baz, qux), but import * is just tacky.
I agree with this, unless the classes are prefixed with something recognizable for example all PyQt classes start with the letter 'Q'. Also it's much easier to type
Code
app = QApplication(sys.argv)than
Code
app = PyQt4.QtCore.QApplication(sys.argv)