• 8211阅读
  • 5回复

本书下载—— Downloads (Python 3.x) [复制链接]

上一主题 下一主题
离线yfx2003
 

只看楼主 倒序阅读 楼主  发表于: 2016-04-24


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     pyqtbook3.tar.tar.rar pyqtbook3.tar.tar.rar (718 K) 下载次数:80    ]. 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     pyqtbook31.tar.tar.rar pyqtbook31.tar.tar.rar (1441 K) 下载次数:205     ]. 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.
4条评分好评度+1贡献值+1金钱-10威望+1
ly233 好评度 +1 - 2017-07-07
ly233 贡献值 +1 - 2017-07-07
ly233 威望 +1 - 2017-07-07
ly233 金钱 -10 - 2017-07-07
www.qtcn.org/gpq4/
ajaxref.okajax.com/
离线misgn

只看该作者 1楼 发表于: 2016-06-13
为什么下载的都是源码呢?
离线xcontext

只看该作者 2楼 发表于: 2017-07-28
链接打不开
离线dennisgg

只看该作者 3楼 发表于: 2017-09-18
感谢!!!!!!!!!!!!!!!!!!!!
离线pythonfixer

只看该作者 4楼 发表于: 03-29
离线nygbook

只看该作者 5楼 发表于: 05-26
下不动呢
我在思考签名
快速回复
限100 字节
 
上一个 下一个