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

List:       pykde
Subject:    [PyQt] Rapid PyQt book - examples for Python 2.6
From:       Mark Summerfield <mark () qtrac ! eu>
Date:       2008-09-29 13:16:57
Message-ID: 200809291416.57604.mark () qtrac ! eu
[Download RAW message or body]

Hi,

Just to let you know that I've now produced an additional version of the
examples that accompany my book, "Rapid GUI Programming with Python and
Qt", ISBN 0132354187. The new archive uses Python 2.6 syntax and is
available from http://www.qtrac.eu/pyqtbook.html

I've also taken the opportunity to change the import style from the
space-saving one used in the book (from PyQt4.QtGui import *) to the one
most commonly used in practice (from PyQt4 import QtGui). The new import
style and the use of the print() function and the str.format() method
are the main syntactic changes.

Since Python 2.6 isn't officially available yet I've tested against
release candidate 2 and the PyQt 4.4.4 snapshot and used the -3 flag.

I hope that this is useful to those who want to make the move to 2.6!

-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Programming in Python 3" - ISBN 0137129297'

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://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