[PyQt] QNetworkReply pyQt

Hans-Peter Jansen hpj at urpla.net
Wed May 3 20:25:14 BST 2017


On Mittwoch, 3. Mai 2017 13:17:12 Christopher Probst wrote:
> Sorry I am confused here. This is a pyQt mailing list and I am putting a
> python 3.5 example which does not seem to work on my end. I am merely
> asking what I am doing wrong?
> 
> On Wed, May 3, 2017 at 1:02 PM, Phil Thompson <phil at riverbankcomputing.com>
> 
> wrote:
> > On 03/05/2017 17:15, Christopher Probst wrote:
> >> I am going to send the example again without a dependency to my project.
> >> For some odd reason the finished signal is never received.
> >> 
> >> import sys
> >> 
> >> from PyQt5.QtWidgets import QApplication
> >> from PyQt5.QtNetwork import *
> >> from PyQt5.QtCore import *
> >> 
> >> class DebugginClass(QObject):
> >>     def __init__(self, parent=None):
> >>         QObject(parent)

Make this:

	QObject.__init__(self, parent)

or 

	super(DebugginClass, self).__init__(parent)

or some such...

> > This is Python not C++.

Phil can be curt up to touching your pain barrier.

Cheers,
Pete


More information about the PyQt mailing list