Python in Practice

Python in Practice Front Cover
2 Reviews
336 pages

Book Description

Python in Practice: Create Better Programs Using Concurrency, Libraries, and Patterns (Developer's Library)

“Whether you are an experienced programmer or are starting your career, Python in Practice is full of valuable advice and example to help you improve your craft by thinking about problems from different perspectives, introducing tools, and detailing techniques to create more effective solutions.”

–Doug Hellmann, Senior Developer, DreamHost

If you’re an experienced Python programmer, Python in Practice will help you improve the quality, reliability, speed, maintainability, and usability of all your Python programs.

Mark Summerfield focuses on four key themes: design patterns for coding elegance, faster processing through concurrency and compiled Python (Cython), high-level networking, and graphics. He identifies well-proven design patterns that are useful in Python, illuminates them with expert-quality code, and explains why some object-oriented design patterns are irrelevant to Python. He also explodes several counterproductive myths about Python programming–showing, for example, how Python can take full advantage of multicore hardware.

All examples, including three complete case studies, have been tested with Python 3.3 (and, where possible, Python 3.2 and 3.1) and crafted to maintain compatibility with future Python 3.x versions. All code has been tested on Linux, and most code has also been tested on OS X and Windows. All code may be downloaded at

Coverage includes

  • Leveraging Python’s most effective creational, structural, and behavioral design patterns
  • Supporting concurrency with Python’s multiprocessing, threading, and concurrent.futures modules
  • Avoiding concurrency problems using thread-safe queues and futures rather than fragile locks
  • Simplifying networking with high-level modules, including xmlrpclib and RPyC
  • Accelerating Python code with Cython, C-based Python modules, profiling, and other techniques
  • Creating modern-looking GUI applications with Tkinter
  • Leveraging today’s powerful graphics hardware via the OpenGL API using pyglet and PyOpenGL

Table of Contents

Chapter 1. Creational Design Patterns in Python
Chapter 2. Structural Design Patterns in Python
Chapter 3. Behavioral Design Patterns in Python
Chapter 4. High-Level Concurrency in Python
Chapter 5. Extending Python
Chapter 6. High-Level Networking in Python
Chapter 7. Graphical User Interfaces with Python and Tkinter
Chapter 8. OpenGL 3D Graphics in Python
Appendix A. Epilogue
Appendix B. Selected Bibliography

Book Details

  • Title: Python in Practice
  • Length: 336 pages
  • Edition: 1
  • Language: English
  • Publication Date: 2013-08-29
  • ISBN-10: 0321905636
  • ISBN-13: 9780321905635
Download LinkFormatSize (MB)Upload Date
Download from EU(multi)EPUB11.111/18/2013
Download from EU(multi)PDF, EPUB30.912/31/2013
Download from NitroFlarePDF, EPUB30.912/08/2016
Download from NitroFlarePDF, EPUB30.906/29/2020
Download from UpLoadedEPUB11.109/16/2014
Download from ZippySharePDF, EPUB30.909/16/2014
How to Download? Report Dead Links & Get a Copy