Product Description
Mark Pilgrim's Dive Into Python 3 is a hands-on guide to Python 3 (the latest version of the Python language) 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 you'll learn
- Understand Python 3 code by seeing it broken down and explained.
- Make full use of the latest Python features such as iterators, generators, closures, classes and comprehensions.
- Refactor existing code to improve maintainability.
- Learn how to serialize Python objects with the pickle protocol and JSON format.
- Learn how to package your own Python libraries and upload them to the Python.
- Package Index to share your projects with Python developers worldwide.
- Use Python 3 to consume HTTP web services.
- Port existing Python applications to Python 3 by following a case study for a major library.
Who is this book 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.
Título:
| Dive into Python 3
|
Autor:
| Mark Pilgrim
|
Fecha de publicación:
| 2009
|
Páginas:
| 489
|
Idioma:
| Inglés
|
Dirigido a:
| Programadores
|
Requisitos:
| Conocimientos sobre programación en Python
|
Licencia:
| CC by-sa
|
Tabla de Contenidos
Capítulo -1:
|
Novedades en Dive Into Python
|
Capítulo 0:
|
Installing Python
|
Capítulo 1:
|
Your First Python Program
|
Capítulo 2:
|
Native Datatypes
|
Capítulo 3:
|
Comprehensions
|
Capítulo 4:
|
Strings
|
Capítulo 5:
|
Regular Expressions
|
Capítulo 6:
|
Closures and Generators
|
Capítulo 7:
|
Clases and Iterators
|
Capítulo 8:
|
Advanced Iterators
|
Capítulo 9:
|
Unit Testing
|
Capítulo 10:
|
Refactoring
|
Capítulo 11:
|
Files
|
Capítulo 12:
|
XML
|
Capítulo 13:
|
Serializing Python Objects
|
Capítulo 14:
|
HTTP Web Services
|
Capítulo 15:
|
Case Study: Porting chardet to Python 3
|
Capítulo 16:
|
Packaging Python Libraries
|
Appendix A:
|
Porting Code to Python 3 with 2to3
|
Appendix B:
|
Special Method Names
|
Appendix C:
|
Where to Go from Here
|
Dive into Python 3:
|
|
2,2 MB
|
Nota:
El archivo de descarga (en formato ZIP) contiene además del libro (en formato PDF) el código fuente de los ejemplos y ejercicios.
Puede comprar la versión impresa de este libro aquí:
Dive Into Python 3, buy from Amazon
0 comentarios