Learning Python, 5th Edition

0
(0)

Learning Python, 5th Edition
 

  • Author:Mark Lutz
  • Length: 1600 pages
  • Edition: 5
  • Publisher: O’Reilly Media
  • Publication Date: 2013-07-03
  • ISBN-10: 1449355730
  • ISBN-13: 9781449355739
  • Sales Rank: #6785 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages.

    Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code.

    • Explore Python’s major built-in object types such as numbers, lists, and dictionaries
    • Create and process objects with Python statements, and learn Python’s general syntax model
    • Use functions to avoid code redundancy and package code for reuse
    • Organize statements, functions, and other tools into larger components with modules
    • Dive into classes: Python’s object-oriented programming tool for structuring code
    • Write large programs with Python’s exception-handling model and development tools
    • Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing

    Table of Contents

    Getting Started
    Chapter 1 A Python Q&A Session
    Chapter 2 How Python Runs Programs
    Chapter 3 How You Run Programs

    Types and Operations
    Chapter 4 Introducing Python Object Types
    Chapter 5 Numeric Types
    Chapter 6 The Dynamic Typing Interlude
    Chapter 7 String Fundamentals
    Chapter 8 Lists and Dictionaries
    Chapter 9 Tuples, Files, and Everything Else

    Statements and Syntax
    Chapter 10 Introducing Python Statements
    Chapter 11 Assignments, Expressions, and Prints
    Chapter 12 if Tests and Syntax Rules
    Chapter 13 while and for Loops
    Chapter 14 Iterations and Comprehensions
    Chapter 15 The Documentation Interlude

    Functions and Generators
    Chapter 16 Function Basics
    Chapter 17 Scopes
    Chapter 18 Arguments
    Chapter 19 Advanced Function Topics
    Chapter 20 Comprehensions and Generations
    Chapter 21 The Benchmarking Interlude

    Modules and Packages
    Chapter 22 Modules: The Big Picture
    Chapter 23 Module Coding Basics
    Chapter 24 Module Packages
    Chapter 25 Advanced Module Topics

    Classes and OOP
    Chapter 26 OOP: The Big Picture
    Chapter 27 Class Coding Basics
    Chapter 28 A More Realistic Example
    Chapter 29 Class Coding Details
    Chapter 30 Operator Overloading
    Chapter 31 Designing with Classes
    Chapter 32 Advanced Class Topics

    Exceptions and Tools
    Chapter 33 Exception Basics
    Chapter 34 Exception Coding Details
    Chapter 35 Exception Objects
    Chapter 36 Designing with Exceptions

    Advanced Topics
    Chapter 37 Unicode and Byte Strings
    Chapter 38 Managed Attributes
    Chapter 39 Decorators
    Chapter 40 Metaclasses
    Chapter 41 All Good Things

    Appendixes
    Appendix Installation and Configuration
    Appendix The Python 3.3 Windows Launcher
    Appendix Python Changes and This Book
    Appendix Solutions to End-of-Part Exercises

    中文:

    书名:Learning Python, 5th Edition

    通过这本实践性书籍,可以全面、深入地介绍核心的Python语言。基于作者Mark Lutz的广受欢迎的培训课程,这个更新的第五版将帮助您用Python快速编写高效、高质量的代码。无论您是编程新手还是精通其他语言的专业开发人员,这都是一个理想的入门方式。

    通过测验、练习和有用的插图,这本简单易懂、自定进度的教程让您同时开始使用Python2.7和3.3–3.x和2.x版本中的最新版本–以及目前常用的所有其他版本。您还将学习一些高级语言特性,这些特性最近在Python代码中变得更加常见。

    • 了解Python的主要内置对象类型,如数字、列表和字典
    • 使用Python语句创建和处理对象,并学习Python语言的通用语法模型
    • Use functions to avoid code redundancy and package code for reuse
    • 使用模块将语句、函数和其他工具组织成更大的组件
    • 深入研究类:用于构建代码的Python面向对象编程工具
    • 使用Python的异常处理模型和开发工具编写大型程序
    • 了解高级Python工具,包括修饰符、描述符、元类和Unicode处理

    Table of Contents

    Getting Started
    第1章:Python问答环节
    第2章:Python如何运行程序
    第三章:如何运行程序

    类型和操作
    第4章:介绍Python对象类型
    第5章:数值类型
    第六章动态打字插曲
    第七章弦乐基础知识
    Chapter 8 Lists and Dictionaries
    第9章:元组、文件和其他所有内容

    语句和语法
    第10章:介绍Python语句
    第11章:作业、表达和印刷
    Chapter 12 if Tests and Syntax Rules
    Chapter 13 while and for Loops
    第14章:迭代和理解
    第15章:文档插曲

    函数和生成器
    第16章:函数基础知识
    Chapter 17 Scopes
    第十八章辩论
    第19章:高级功能主题
    第20章理解与世代
    Chapter 21 The Benchmarking Interlude

    模块和包
    Chapter 22 Modules: The Big Picture
    Chapter 23 Module Coding Basics
    第24章:模块包
    Chapter 25 Advanced Module Topics

    Classes and OOP
    Chapter 26 OOP: The Big Picture
    Chapter 27 Class Coding Basics
    Chapter 28 A More Realistic Example
    Chapter 29 Class Coding Details
    Chapter 30 Operator Overloading
    第31章:使用类进行设计
    Chapter 32 Advanced Class Topics

    例外情况和工具
    第33章:例外基础知识
    Chapter 34 Exception Coding Details
    第三十五章例外对象
    Chapter 36 Designing with Exceptions

    Advanced Topics
    第37章:Unicode和字节字符串
    第38章:托管属性
    Chapter 39 Decorators
    第40章:元类
    Chapter 41 All Good Things

    Appendixes
    附录:安装和配置
    Appendix The Python 3.3 Windows Launcher
    Appendix Python Changes and This Book
    附录:部分结束练习的解决方案

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册