Learning Python, 4 edition

-
Learning Python, 4 edition
PDF
  • eBook:
    Learning Python, 4 edition
  • Author:
    Mark Lutz
  • Edition:
    4 edition
  • Categories:
  • Data:
    October 12, 2009
  • ISBN:
    0596158068
  • ISBN-13:
    9780596158064
  • Language:
    English
  • Pages:
    1216 pages
  • Format:
    PDF

-
Book Description
Google and YouTube use Python because it's highly adaptable, easy to maintain, and allows for rapid development. If you want to write high-quality, efficient code that's easily integrated with other languages and tools, this hands-on book will help you be productive with Python quickly -- whether you're new to programming or just new to Python. It's an easy-to-follow self-paced tutorial, based on author and Python expert Mark Lutz's popular training course.
Each chapter contains a stand-alone lesson on a key component of the language, and includes a unique Test Your Knowledge section with practical exercises and quizzes, so you can practice new skills and test your understanding as you go. You'll find lots of annotated examples and illustrations to help you get started with Python 3.0.
  • Learn about Python's major built-in object types, such as numbers, lists, and dictionaries
  • Create and process objects using Python statements, and learn Python's general syntax model
  • Structure and reuse code using functions, Python's basic procedural tool
  • Learn about Python modules: packages of statements, functions, and other tools, organized into larger components
  • Discover Python's object-oriented programming tool for structuring code
  • Learn about the exception-handling model, and development tools for writing larger programs
  • Explore advanced Python tools including decorators, descriptors, metaclasses, and Unicode processing

-

Content

Part I. Getting Started
1. A Python Q&A Session
2. How Python Runs Programs
3. How You Run Programs

Part II. Types and Operations
4. Introducing Python Object Types
5. Numeric Types
6. The Dynamic Typing Interlude
7. Strings
8. Lists and Dictionaries
9. Tuples, Files, and Everything Else

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

Part IV. Functions
16. Function Basics
17. Scopes
18. Arguments
19. Advanced Function Topics
20. Iterations and Comprehensions, Part 2

Part V. Modules
21. Modules: The Big Picture
22. Module Coding Basics
23. Module Packages
24. Advanced Module Topics

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

Part VII. Exceptions and Tools
32. Exception Basics
33. Exception Coding Details
34. Exception Objects
35. Designing with Exceptions

Part VIII. Advanced Topics
36. Unicode and Byte Strings
37. Managed Attributes
38. Decorators
39. Metaclasses

Free sample

-
Add comments
Прокомментировать
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019
-

-