title: Importing from PySide or PyQt4
body: <p>I'd like to use either PyQt4 or PySide for imports, whichever is installed. For some reason though I can't do this:</p>
  
  <pre><code>from PyQt4 import QtGui
  from QtGui import QApplication
  </code></pre>
  
  <p>Instead of the last line, I have to do this, I'm not sure why:</p>
  
  <pre><code>from PyQt4.QtGui import QApplication
  </code></pre>
  
  <p>That doesn't bother me too much, but it makes it very frustrating importing multiple things using whichever library is installed:</p>
  
  <pre><code>try:
      from PyQt4 import QtGui, QtWebKit, QtCore
      from PyQt4.QtGui import QApplication, QMainWindow, QFrame, QAction, ...
      ...
  except ImportError:
      from PySide import QtGui, QtWebKit, QtCore
      from PySide.QtGui import QApplication, QMainWindow, QFrame, QAction, ...
      ...
  </code></pre>
  
  <p>It gets pretty repetitive.</p>
  
  <p>Also, this doesn't work, Python won't allow it:</p>
  
  <pre><code>import PyQt4 as SomeQt
  from SomeQt import QtGui
  </code></pre>
  
  <p>So I can't find a good way to cut down on repetition between the PyQt4 and PySide sections. Is there a better way? Is there any harm in just using import *:</p>
  
  <pre><code>try:
      from PyQt4 import QtGui, QtWebKit, QtCore
      from PyQt4.QtGui import *
      ...
  except ImportError:
      from PySide import QtGui, QtWebKit, QtCore
      from PySide.QtGui *
      ...
  </code></pre>
  
  <p>to at least cut down on the amount of repetition necessary?</p>