[PyQt] QNetworkReply pyQt

Barry barry at barrys-emacs.org
Thu May 4 22:51:45 BST 2017



> On 3 May 2017, at 18:17, Christopher Probst <christop.probst at gmail.com> 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)

This not how you init the base class.

Try
            super().__init__( parent )

E.g write in python style not C++ style.

>> 
>> This is Python not C++.
>> 
>> Phil
> 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170504/2b755e5f/attachment-0001.html>


More information about the PyQt mailing list