[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QNetworkReply pyQt
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2017-05-03 20:03:49
Message-ID: 7741c9612542d09f36b13d53639e3672 () riverbankcomputing ! com
[Download RAW message or body]

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@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
>> 

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic