title: PyQt4 and Python 3 - Display an image from URL
body: <p>I found this code for displaying image from URL. This code doesn't work with Python 3.4. I think urllib is seperated two modules on Python 3 as urllib.request. But I can't convert this code to display it on Python 3.</p>
  
  <pre><code>from PyQt4.QtGui import QPixmap, QIcon
  import urllib
  
  url = 'http://example.com/image.png'    
  data = urllib.urlopen(url).read()
  pixmap = QPixmap()
  pixmap.loadFromData(data)
  icon = QIcon(pixmap)
  </code></pre>
  
  <p>So how can I display image on Python 3 and Pyqt4? Thanks.</p>