Rapid GUI programming with Python and Qt ——Introduction

This book teaches how to write GUI applications using the Python programming language and the Qt application development framework. The only essentialprior knowledge is that you can program in some object-oriented programming language, such as C++, C#, Java, or of course, Python itself. For the rich text chapter, some familiarity with HTML and with regular expressions is assumed, and the databases and threading chapters assume some basic knowledge of those topics. A knowledge of GUI programming is not required, since all the key concepts are covered.

这本书教如何编写使用Python编程语言和Qt应用程序开发框架的GUI应用程序。唯一必要知道知识是可以在一些面向对象编程语言,如C ++,C#,Java或当然,Python本身编程。对于文本章节,假定一些熟悉的HTML和正则表达式,并且数据库和线程的章节承担这些议题的一些基本知识。 GUI编程的知识是不是必需的,因为所有的关键概念都包括在内。



The book will be useful to people who program professionally as part of their job, whether as full-time software developers, or those from other disciplines, including scientists and engineers, who need to do some programming in support of their work. It is also suitable for undergraduate and post-graduate students, particularly those doing courses or research that includes a substantial computing element. The exercises (with solutions) are provided especially to help students.

这本书将是谁编写专业作为他们工作的一部分有用的人,无论是全职的软件开发人员,或从其他学科,包括科学家和工程师,谁需要做的,以支持其工作的一些编程。这也适用于本科生和研究生的学生,特别是那些在做课程或研究,其中包括大量的计算元素。这次演习(与解决方案)提供了特别帮助的学生。



Python is probably the easiest to learn and nicest scripting language in widespread use, and Qt is probably the best library for developing GUI applications. The combination of Python and Qt, “PyQt”, makes it possible to develop applications on any supported platform and run them unchanged on all the supported platforms—for example, all modern versions of Windows, Linux, Mac OS X, and most Unix-based systems. No compilation is required thanks to Python being interpreted, and no source code changes to adapt to different operating systems are required thanks to Qt abstracting away the platformspecific details. We only have to copy the source file or files to a target machine that has both Python and PyQt installed and the application will run.

Python

是可能是最容易学习和广泛使用最好的脚本语言,和Qt可能是用于开发GUI应用程序的最佳库。 Python和Qt的结合,“PyQt的”,使得它可以开发任何支持平台上的应用程序和运行它们不变的所有支持的平台,例如上,在Windows,Linux,Mac OS X中,大多数Unix的所有现代版本基础的系统。没有编译需要感谢的Python被解释,并没有源代码的修改,以适应不同的操作系统都需要感谢QT抽象掉的细节platformspecific。我们只有对源文件或文件复制到了Python和PyQt的安装和运行应用程序的目标机器。


If you are new to Python: Welcome! You are about to discover a language that is clear to read and write, and that is concise without being cryptic. Python supports many programming paradigms, but because our focus is on GUI programming, we will take an object-oriented approach everywhere except in the very early chapters.

如果你是新来的Python:欢迎您!您将发现一个语言,清晰的读写,那就是不被神秘的简洁。 Python支持多种编程范式,而是因为我们的重点是GUI编程,我们将采取一个面向对象的方法随处可见除了在非常早期的章节。



Python is a very expressive language, which means that we can usually write far fewer lines of Python code than would be required for an equivalent application written in, say, C++ or Java. This makes it possible to show some small but complete examples throughout the text, and makes PyQt an ideal tool for rapidly and easily developing GUI applications, whether for prototyping or for production use.

Python是一种非常富有表现力的语言,这意味着我们可以平时写的Python代码少得多比线将需要写,说,C ++或Java等效应用程序。这使得有可能以显示整个文本的一些小但完整的例子,并使得PyQt的一个理想的工具,用于快速并容易地开发GUI的应用程序,无论是用于原型或用于生产。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值