Skip to Content
《学习 Python》第 5 版
book

《学习 Python》第 5 版

by Mark Lutz
May 2025
Intermediate to advanced
1648 pages
23h 5m
Chinese
O'Reilly Media, Inc.

Overview

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

通过这本实践操作手册,全面、深入地了解 Python 核心语言。本书基于作者马克·卢茨(Mark Lutz)的热门培训课程,经过更新,已出版第五版,可帮助您快速编写高效、高质量的 Python 代码。无论您是编程新手还是精通其他语言的专业开发人员,这本书都是理想的入门读物。

本书配有测验、练习和有用的插图,内容易于理解,可自定进度学习,帮助您入门 Python 2.7 和 3.3(3.X 和 2.X 系列的最新版本)以及当今常用的所有其他版本。您还将学习一些最近在 Python 代码中越来越常见的高级语言功能。

  • 探索 Python 的主要内置对象类型,例如数字、列表和字典
  • 使用 Python 语句创建和处理对象,并学习 Python 的一般语法模型
  • 使用函数避免代码重复并封装代码以实现复用
  • 使用模块将语句、函数和其他工具组织成更大的组件
  • 深入探讨类:Python 用于构建代码的面向对象编程工具
  • 使用 Python 的异常处理模型和开发工具编写大型程序
  • 学习高级 Python 工具,包括装饰器、描述符、元类和 Unicode 处理
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

学习 Java,第 6 版

学习 Java,第 6 版

Marc Loy, Patrick Niemeyer, Daniel Leuck
《高性能 Python》第二版

《高性能 Python》第二版

Micha Gorelick, Ian Ozsvald

Publisher Resources

ISBN: 9798341656963