Dive into Python 3 (häftad)
Fler böcker inom
Häftad (Paperback)
Antal sidor
Noller, Jesse
228 x 184 x 19 mm
589 g
Antal komponenter
Dive into Python 3 (häftad)

Dive into Python 3

Häftad Engelska, 2009-10-19
Skickas inom 3-6 vardagar.
Fri frakt inom Sverige för privatpersoner.
Finns även som
Visa alla 1 format & utgåvor
Mark Pilgrim's Dive Into Python 3 is a hands-on guide to Python 3 and its differences from Python 2. As in the original book, Dive Into Python, each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end.

This book includes:

  • Example programs completely rewritten to illustrate powerful new concepts now available in Python 3: sets, iterators, generators, closures, comprehensions, and much more
  • A detailed case study of porting a major library from Python 2 to Python 3
  • A comprehensive appendix of all the syntactic and semantic changes in Python 3
This is the perfect resource for you if you need to port applications to Python 3, or if you like to jump into languages fast and get going right away.

What youll learn

  • To understand Python 3 code by seeing it broken down and explained
  • How to make full use of the latest Python features such as iterators, generators, closures, classes and comprehensions
  • How to refactor existing code to improve maintainability
  • How to serialize Python objects with the pickle protocol and JSON format
  • How to package your own Python libraries and upload them to the Python Package Index to share your projects with Python developers worldwide
  • How to use Python 3 to consume HTTP web services
  • How to port existing Python applications to Python 3 by following a case study for a major library

Who this book is for

  • Anyone who wants to learn the latest version of Python in a fast, hands-on fashion
  • Existing Python programmers who want to learn quickly how to make the most of the features of the latest version of Python and port their code to it
  • Programmers coming from other languages wanting a fast introduction to Python that gets them thinking about advanced concepts quickly

Table of Contents

  1. Your First Python Program
  2. Native Datatypes
  3. Comprehensions
  4. Strings
  5. Regular Expressions
  6. Closures and Generators
  7. Classes and Iterators
  8. Advanced Iterators
  9. Unit Testing
  10. Refactoring
  11. Files
  12. XML
  13. Serializing Python Objects
  14. HTTP Web Services
  15. Case Study: Porting chardet to Python 3
  16. Packaging Python Libraries
Visa hela texten

Passar bra ihop

  1. Dive into Python 3
  2. +
  3. HTML5: Up And Running

De som köpt den här boken har ofta också köpt HTML5: Up And Running av Mark Pilgrim (häftad).

Köp båda 2 för 788 kr


Har du läst boken? Sätt ditt betyg »

Bloggat om Dive into Python 3

Övrig information

By day, Mark Pilgrim is a developer advocate for open source and open standards. By night, he is a husband and father who lives in North Carolina with his wife, his two sons, and his big slobbery dog. He spends his copious free time sunbathing, skydiving, and making up autobiographical information.


0) Installing Python 1) Your First Python Program 2) Native Python Datatypes 3) Strings 4) Regular Expressions 5) The Power of Introspection 6) Objects and Object-Orientation 7) Unit Testing 8) Test First Programming 9) Refactoring Your Code 10) Files 11) HTML Processing 12) XML Processing 13) HTTP Web Services 14) Dynamic Functions 15) Metaclasses 16) Performance Tuning 17) Packaging Python Libraries 18) Creating Graphics with the Python Imaging Library 19) Where To Go From Here 20) Case Study - Porting to Python 3 Appendix A) - Porting to Python 3