Skip to Content
Python应用开发指南
book

Python应用开发指南

by Posts & Telecom Press, Ninad Sathaye
February 2024
Intermediate to advanced
340 pages
5h 24m
Chinese
Packt Publishing

Overview

用Python构建健壮的、可重用的、高效的应用程序 轻松奇幻的学习主线,解决Python开发中遇到的实际问题

Key Features

  • 本书使用轻松奇幻的学习主线,用具体解决方案来应对在复杂的Python开发中遇到的实际问题。
  • 通过使用一个生动有趣的、基于文本的游戏主题作为讲解内容来介绍Python应用开发过程的各个方面。

Book Description

Python是使用最广泛的动态编程语言之一。它支持一组丰富的库和框架,从而能够用来进行快速开发。但是,如此快速的开发通常会带来一些问题,容易导致代码整体质量、性能和扩展性的降低。本书将会教你如何处理这些问题,以及如何编写出更好的Python应用程序。

本书从简单命令行应用程序的基础知识入手,帮助读者不断提高技能,直到可以设计出高效的、高级的Python应用。本书使用轻松奇幻的学习主线,用具体解决方案来应对在复杂的Python开发中遇到的实际问题。读者从关注健壮性,以及程序代码的打包和发布开始,通过提高代码的可扩展性、可重用性以及可读性来提高应用程序的生命周期,并掌握Python代码重构、设计模式和最佳实践。在关于性能的章节中,读者学会识别性能瓶颈并提升性能,最后还将学习如何开发Python图形界面应用程序。

通过阅读本书,您将能够:

• 通过异常处理来创建健壮的应用程序。

• 源代码的模块化、打包和发布。

• 编写代码文档,实施代码规范。

• 在开发初期通过创建自动化测试发现程序漏洞。

• 识别并重构糟糕的代码以扩大应用的生命周期。

• 检测代码中重复出现的问题并使用设计模式。

• 通过识别性能瓶颈并修复问题来提高代码执行效率。

• 使用Python开发简单的图形界面应用程序。

What you will learn

  • 通过异常处理来创建健壮的应用程序。
  • 源代码的模块化、打包和发布。
  • 编写代码文档,实施代码规范。
  • 在开发初期通过创建自动化测试发现程序漏洞。
  • 识别并重构糟糕的代码以扩大应用的生命周期。
  • 检测代码中重复出现的问题并使用设计模式。
  • 通过识别性能瓶颈并修复问题来提高代码执行效率。
  • 使用Python开发简单的图形界面应用程序。

Who this book is for

你已经了解Python语言的基础和面向对象编程吗? 你想更进一步钻研、学习技术来让你的Python应用更具健壮性、可扩展性并更加高效吗? 如果是这样的话,那么这本书就是为你量身打造的。

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

Python数据分析(第2版)

Python数据分析(第2版)

Posts & Telecom Press, Armando Fandango
Python3.0科学计算指南

Python3.0科学计算指南

Posts & Telecom Press, Claus Führer, Jan Erik Solem, Olivier Verdier
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
解密金融数据

解密金融数据

Justin Pauley

Publisher Resources

ISBN: 9781835888780