[Tutor] PySide 1.2.2 and Python 3 - "native Qt signal is not callable"

Danny Yoo dyoo at hashcollision.org
Sun Aug 31 00:03:23 CEST 2014


> So the loop really should be:
>
>         for line in fh.split("\n"):
>               ...


Ah, apologies.  Forgot that we're in Python 3 land.  We have to be
consistent with the types a lot more.  This should be:

         for line in fh.split(b"\n"):
               ...

Apologies.  I should have tested with a Python 3 interpreter in hand.


More information about the Tutor mailing list