Skip to Content
Python应用开发指南
book

Python应用开发指南

by Posts & Telecom Press, Ninad Sathaye
February 2024
Intermediate to advanced
340 pages
5h 24m
Chinese
Packt Publishing
Content preview from Python应用开发指南

前言

Python是使用最广泛的动态编程语言之一。它支持一组丰富的库和框架,从而能够用来进行快速开发。但是,如此快速的开发通常会带来一些问题,容易导致代码的整体质量、性能和扩展性的降低。本书将会教你如何构建和部署有趣的应用,从而帮助你提高应用Python的技术水平。

从简单的程序入手,本书将教会你设计并开发出健壮而且高效的应用。对一些非常重要的主题讲解,本书将以一种容易理解且十分有趣的方式呈现出来。

本书使用一个奇幻主题作为工具来解释各种不同的概念。在本书中,你将会遇到许多虚幻的游戏人物。当你学习不同的内容时,这些想象的人物会与你对话,问问题,并提出新的功能需求。

每一章都关注应用开发的一个不同方面。最开始的几章关注软件的健壮性、应用代码的打包和发布。接下来的几章是关于通过增加代码的扩展性、重用性和可读性来提高应用的生命周期。你将学习到关于代码重构、单元测试、设计模式、文档规范和最佳实践的知识。

在着重讨论性能的3章内容中,将介绍识别瓶颈和提高性能的技术。最后1章将介绍图形用户界面(Graphical User Interface,GUI)开发。

  • 本书使用一个有趣的、基于文本的游戏主题作为工具来解释应用开发过程的各个方面,但是这本书本身并不是关于游戏程序开发的!
  • 每章都有各自的一组Python源文件。尽管我们会讨论大部分代码,但是要保证你的手上有相关源文件。请查看“下载示例代码”部分,了解更多详细内容。
  • 如果你阅读的是本书的电子版,则以下内容是和你相关的。本书中大部分的示例代码都是以图片形式呈现的。请尝试使用100%的缩放比例以获得最佳的阅读体验,这些代码快照在放大的情况下可能会出现模糊的现象。
  • 本书通常不提供练习题目(如果有的话)的解决方案。
  • 本书中提供一些外部链接(Uniform ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar
解密金融数据

解密金融数据

Justin Pauley
Python机器学习基础教程

Python机器学习基础教程

Andreas C. Müller, Sarah Guido

Publisher Resources

ISBN: 9781835888780