On 1/10-2009 23:51 David Boddie <[email protected]> wrote:
> job.data.connect(self.job_received)
> 

Thanks! It works. It really is true that the new syntax is more python like. 
The documentation was so explicit that I didn't understand it :-) The only 
problem now is that the method doesn't actually get any data.

    def job_received(self, job, data):
        print "Data received: " + data

I run "urllib2.urlopen(url).read().strip()" at the same time to check that the 
url contains some data, but when job_received is called it only prints out 
"Data received: " and a newline.

Well it's late now and I've had some red wine so I'll wait until tomorrow to 
debug anymore.

Thanks for the help.

-- 
Best Regards / Med venlig hilsen

  Thomas Olsen

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to