查看完整版本: [-- 本书下载—— Downloads (Python 3.x) --]

QTCN开发网 -> Python Qt GUI快速编程 -> 本书下载—— Downloads (Python 3.x) [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

yfx2003 2016-04-24 20:19

本书下载—— Downloads (Python 3.x)



Downloads (Python 3.x)


From PyQt4.6, PyQt has two APIs, API#1 (the original), and API#2 (new). API#2 is more Pythonic and eliminates QString and QVariant, and is a bit nicer to use. API#1 remains best for those using PyQt to prototype C++/Qt applications. API#1 is the default for PyQt4.x with Python 2.x, and for PyQt4.0-4.5 with Python 3.x. API#2 is the default for PyQt4.6+ with Python 3.x, and for PySide. The book uses API#1, but the differences are not too big. Basically, most of the changes affect uses of QDataStream, QSettings, and QTextStream, and of course any use of QString methods (since in API#2, QString is gone, so we use str).  
Versions of the examples for Python 3.0 and PyQt 4.5.1 using API#1 are available in the usual two formats, pyqtbook3.tar.gz (718K suitable for any platform), and pyqtbook3.zip (920K Windows line endings) [updated 2010-07-21     [attachment=15050]   ]. The examples have also been ported to Python 3.1 and PyQt 4.7.3 using API#2: pyqtbook31.tar.gz (723K suitable for any platform), and pyqtbook31.zip (918K Windows line endings) [updated 2010-08-24     [attachment=15051]    ]. Note that both sets of Python 3 examples are straight conversions of the book's original examples and don't take any specific advantage of Python 3 or PyQt 4.5 (or later) features, except for using str.format() rather than the % operator. The API#2 versions don't always match up with the examples in the book (because the book uses API#1), but as already noted, the differences aren't huge and only affect a few specific classes.

misgn 2016-06-13 16:42
为什么下载的都是源码呢?

xcontext 2017-07-28 07:54
链接打不开

dennisgg 2017-09-18 12:22
感谢!!!!!!!!!!!!!!!!!!!!

pythonfixer 2019-03-29 11:22

nygbook 2019-05-26 12:19
下不动呢


查看完整版本: [-- 本书下载—— Downloads (Python 3.x) --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled