Pro Python

Front Cover
Apress, Jun 14, 2010 - Computers - 368 pages

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. Pro Python explores concepts and features normally left to experimentation, allowing you to be even more productive and creative.

In addition to pure code concerns, Pro Python will develop your programming techniques and approaches, which will help make you a better Python programmer. Not only will this book help your code, it will also help you understand and interact with the many established Python communities, or even start your own.

  • Take your Python knowledge and coding skills to the next level.
  • Write clean, innovative code that will be respected among your peers.
  • Make your code do more with introspection and metaprogramming.
  • Design complete frameworks and libraries (two are included in the book!).

For more information, including a link to the source code referenced in the book, please visit

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.

Table of Contents
  1. Principles and Philosophy
  2. Advanced Basics
  3. Functions
  4. Classes
  5. Common Protocols
  6. Object Management
  7. Strings
  8. Documentation
  9. Testing
  10. Distribution
  11. Sheets: A CSV Framework

What people are saying - Write a review

We haven't found any reviews in the usual places.

Other editions - View all

About the author (2010)

By day, Marty Alchin works as a senior software engineer at Heroku, and after that, he writes and codes for fun and community. His blog can be found at and he has profiles on many other services under the name Gulopine. In particular, his code can be found on GitHub and his random thoughts are on Twitter. He also accepts tips for his open source work at