[PyQt] Python has stopped working in PyQt application

Florian Bruhin me at the-compiler.org
Tue Mar 31 08:14:45 BST 2015


* Sebastian Elsner <sebastianelsner at freenet.de> [2015-03-31 08:58:29 +0200]:
> Properly calling the superclass __init__ works for me:
> 
> QMainWindow.__init__(self)

super().__init__() should do the same in Python3.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150331/3d3bfa4b/attachment.sig>


More information about the PyQt mailing list