[PyQt] urllib2 replacement in PyQt

Jon Noble jonnobleuk at gmail.com
Tue Jun 29 20:58:06 BST 2010


Oh, I forgot to add. I've looked up QHttp but I really don't want to use
a signal/slot method. I'd much prefer an urllib2 like method where
"read()" returns the output rather than waiting for a signal to get the
output.
On Tue, 2010-06-29 at 20:53 +0100, Jon Noble wrote:
> Hi, i'm having a real hard time with unicode and non-pyqt modules. The
> latest one I have is with urllib2. Take this url for example:
> 
> http://www.albumart.org/?srchkey=Björk
> +Post&itempage=1&newsearch=1&searchindex=Music
> 
> Urllib2 cannot handle the "ö" but browsers (including Eric IDE's
> helpviewer) can. 
> 
> This gets me thinking without using webview is there a way of retrieving
> an url's content via pyqt?
> 




More information about the PyQt mailing list