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

List:       pykde
Subject:    Re: [PyQt] QNetworkReply pyQt
From:       Hans-Peter Jansen <hpj () urpla ! net>
Date:       2017-05-03 19:25:14
Message-ID: 4667288.fEomsYrzBf () xrated
[Download RAW message or body]

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