Pro Python

E-Book Overview

You’ve learned the basics of Python, but how do you take your skills to the next stage? Even if you know enough to be productive, there are a number of features that can take you to the next level in Python. <em>Pro Python, Second Edition explores concepts and features normally left to experimentation, allowing you to be even more productive and creative, including PANDAs, NumPy, and more.

In addition to pure code concerns, <em>Pro Python develops your programming techniques and approaches, which will help make you a better Python programmer. This book will help not only your code, but also your understanding and interaction with the many established Python communities.

This book takes your Python knowledge and coding skills to the next level. It shows you how to write clean, innovative code that will be respected by your peers. With this book, make your code do more with introspection and metaprogramming. And, learn and later use the nuts and bolts of an application, tier-by-tier as a complex case study along the way.

For more information, including a link to the source code referenced in the book, please visit http://propython.com/.

What you’ll learn

  • Write strong Python code that will be respected in the Python community
  • Understand the reasons behind big design decisions in Python
  • Write programs that can reconfigure themselves in Python
  • Disguise your code as different types of objects in Python
  • Inspect just about any object in Python
  • Prepare your code for international audiences
  • Ensure code quality with rigorous testing

Who this book is for

This book is for intermediate to advanced Python programmers who are looking to understand how and why Python works the way it does and how they can take their code to the next level.


E-Book Content

For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. Contents at a Glance About the Authors������������������������������������������������������������������������������������������������������������� xvii About the Technical Reviewer������������������������������������������������������������������������������������������� xix Acknowledgments������������������������������������������������������������������������������������������������������������� xxi Introduction��������������������������������������������������������������������������������������������������������������������� xxiii ■■Chapter 1: Principles and Philosophy�������������������������������������������������������������������������������1 ■■Chapter 2: Advanced Basics��������������������������������������������������������������������������������������������19 ■■Chapter 3: Functions�������������������������������������������������������������������������������������������������������59 ■■Chapter 4: Classes���������������������������������������������������������������������������������������������������������115 ■■Chapter 5: Common Protocols���������������������������������������������������������������������������������������161 ■■Chapter 6: Object Management�������������������������������������������������������������������������������������189 ■■Chapter 7: Strings���������������������������������������������������������������������������������������������������������213 ■■Chapter 8: Documentation���������������������������������������������������������������������������������������������233 ■■Chapter 9: Testing����������������������������������������������������������������������������������������������������������243 ■■Chapter 10: Distribution������������������������������������������������������������������������������������������������259 ■■Chapter
You might also like

Tree Automata Techniques And Applications
Authors: Comon H. , et al.    142    0


Algorithm Theory — Swat 2002: 8th Scandinavian Workshop On Algorithm Theory Turku, Finland, July 3–5, 2002 Proceedings
Authors: Torben Hagerup , Rajeev Raman (auth.) , Martti Penttonen , Erik Meineche Schmidt (eds.)    103    0


Perl Programming For Biologists
Authors: D. Curtis Jamison    82    0


Bioinformatics, Biocomputing And Perl: An Introduction
Authors: Michael Moorhouse , Paul Barry    106    0


Scientific Visualization: The Visual Extraction Of Knowledge From Data
Authors: Georges-Pierre Bonneau , Thomas Ertl , Gregory M. Nielson    109    0


Shape Analysis And Structuring
Authors: Leila de Floriani , Michela Spagnuolo    104    0


Coding Theory - Algorithms, Architectures, And Applications
Authors: Andre Neubauer , Jurgen Freudenberger , Volker Kuhn    107    0


From Gestalt Theory To Image Analysis: A Probabilistic Approach
Authors: Agnés Desolneux , Lionel Moisan , Jean-Michel Morel (auth.)    97    0


Digital Image Processing
Authors: Bernd Jähne    106    0