[PyQt] QNetworkReply pyQt

Phil Thompson phil at riverbankcomputing.com
Wed May 3 21:03:49 BST 2017


On 03/05/2017 18:17, 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?

My apologies, you'll have to get used to my style.

I was trying to point out that the line of code to invoke the 
super-class "ctor" was correct for C++ but wrong for Python.

Just remove the __init__ method and see what difference it makes.

Phil


> 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 is Python not C++.
>> 
>> Phil
>> 



More information about the PyQt mailing list