流利的 Python 语言(影印版 英文版)

Regular price $11.90
Unit price
per

带你真正写出地道Python代码

如果你已经会写Python,却总觉得代码还不够优雅、高效,这本书会很对胃口。它最迷人的地方,是把那些常被忽略却非常强大的语言特性讲得既深入又实用,让你慢慢建立起真正 Pythonic 的思维。很多读者会觉得,它不是只教语法,而是在帮你从会用Python,走到真正理解Python。

Note: While we do our best to ensure the accuracy of cover images, ISBNs may at times be reused for different editions of the same title which may hence appear as a different cover.

流利的 Python 语言(影印版 英文版)

Regular price $11.90
Unit price
per
Condition guide

Special Offer

Buy 3, Get 1 Free On All Items Under S$10

Add 4 items under S$10 to your cart — the cheapest one is on us.

ISBN: 9787564168742
Authors: Luciano Ramalho
Date of Publication: 2017-01-01
Format: Paperback
Related Collections: Science
Goodreads rating: 4.62
(rated by 1811 readers)

Description

Python 的简洁让你可以快速达到高产水平,但是这通常意味着你并没有用到它提供的所有功能特性。有了《流利的 Python 语言(影印版 英文版)》,你将学会如何利用那些很容易被忽视的特性来编写有效且通顺的 Python 代码。作者 Luciano Ramalho 将带领你们遍历 Python 的核心语言特性和程序库,并展示精简代码、优化速度和可读性的方法。很多富有经验的程序员尝试将 Python 扭曲成适合他们从其他语言中学到的模式,而从未发现超出他们经验的 Python 特性。通过《流利的 Python 语言(影印版 英文版)》,那些 Python 程序员将完全学会如何高效率地使用 Python 3。 Preface Part I. Prologue 1. The Python Data Model A Pythonic Card Deck How Special Methods Are Used Emulating Numeric Types String Representation Arithmetic Operators Boolean Value of a Custom Type Overview of Special Methods Why len Is Not a Method Chapter Summary Further Reading Part II. Data Structures 2. An Array of Sequences Overview of Built-In Sequences List Comprehensions and Generator Expressions List Comprehensions and Readability List Comps Versus map and filter Cartesian Products Generator Expressions Tuples Are Not Just Immutable Lists Tuples as Records Tuple Unpacking Nested Tuple Unpacking Named Tuples Tuples as Immutable Lists Slicing Why Slices and Range Exclude the Last Item Slice Objects Multidimensional Slicing and Ellipsis Assigning to Slices Using + and * with Sequences Building Lists of Lists Augmented Assignment with Sequences A+= Assignment Puzzler List.sort and the sorted Built-In Function Managing Ordered Sequences with bisect Searching with bisect Inserting with bisect Insort When a List Is Not the Answer Arrays Memory Views NumPy and SciPy Deques and Other Queues Chapter Summary Further Reading 3. Dictionaries and Sets Generic Mapping Types Dict Comprehensions Overview of Common Map
 

带你真正写出地道Python代码

如果你已经会写Python,却总觉得代码还不够优雅、高效,这本书会很对胃口。它最迷人的地方,是把那些常被忽略却非常强大的语言特性讲得既深入又实用,让你慢慢建立起真正 Pythonic 的思维。很多读者会觉得,它不是只教语法,而是在帮你从会用Python,走到真正理解Python。

Note: While we do our best to ensure the accuracy of cover images, ISBNs may at times be reused for different editions of the same title which may hence appear as a different cover.