By Mark Summerfield

Winner of the 2014 Jolt Award for "Best Book"


“Whether you're an skilled programmer or are beginning your occupation, Python in perform is filled with worthwhile suggestion and instance that will help you enhance your craft by means of wondering difficulties from assorted views, introducing instruments, and detailing options to create more advantageous solutions.”

Doug Hellmann, Senior Developer, DreamHost


If you’re an skilled Python programmer, Python in perform will assist you enhance the standard, reliability, pace, maintainability, and usefulness of your entire Python programs.


Mark Summerfield makes a speciality of 4 key topics: layout styles for coding beauty, swifter processing via concurrency and compiled Python (Cython), high-level networking, and images. He identifies well-proven layout styles which are invaluable in Python, illuminates them with expert-quality code, and explains why a few object-oriented layout styles are beside the point to Python. He additionally explodes a number of counterproductive myths approximately Python programming—showing, for instance, how Python can take complete benefit of multicore hardware.


All examples, together with 3 entire case experiences, were demonstrated with Python 3.3 (and, the place attainable, Python 3.2 and 3.1) and crafted to take care of compatibility with destiny Python 3.x types. All code has been validated on Linux, and so much code has additionally been proven on OS X and home windows. All code might be downloaded at


Coverage comprises

  • Leveraging Python’s preferable creational, structural, and behavioral layout styles
  • Supporting concurrency with Python’s multiprocessing, threading, and concurrent.futures modules
  • Avoiding concurrency difficulties utilizing thread-safe queues and futures instead of fragile locks
  • Simplifying networking with high-level modules, together with xmlrpclib and RPyC
  • Accelerating Python code with Cython, C-based Python modules, profiling, and different thoughts
  • Creating modern-looking GUI functions with Tkinter
  • Leveraging today’s robust pics through the OpenGL API utilizing pyglet and PyOpenGL

Show description

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

Best other_1 books


Shaney Fleet is the landlord of a working-class bar, and his challenge is rubbish. whilst a personal hauler attempts to coerce Shaney into deciding to buy assortment companies, he resists. quickly no hauler will eliminate his black-listed trash, and rubbish that's not even his personal starts off to seem at his entrance door. eventually, his residence is torched, his head bashed in, and his bar closed via the wellbeing and fitness division.

Iemand vir 'n scoop? (Afrikaans Edition)

Andi Niemand is op die punt om die groot 30 te slaan – en het, so voel dit haar, nog weinig bereik. Wat het van die plan geword om vir Sarie te skryf? Of om haar doelgewig te bereik? En waar is die held wat veronderstel is om aan haar sy te staan? Nee, sy werk nog steeds vir die poniekoerant Pers, is so unmarried as kan kom en kan nie eers van soetgoed wegbly ter wille van haar vriendin se troue nie – die troue waarop sy strooimeisie moet wees.

Das Nikon 1 System Handbuch (German Edition)

Bereits bei Markteinführung im September 2011 sorgte Nikons neues Kamerasystem für Aufsehen. Sechs unterschiedliche Kameramodelle und neun Objektive bieten Ihnen inzwischen vielfältige Möglichkeiten, mit dem kompakten Kamerasystem faszinierende Fotos aufzunehmen. Michael Gradias führt Sie durch dieses approach und zeigt praxisnah und leicht verständlich die Unterschiede und Möglichkeiten anhand sprechender Bildbeispiele auf.

SolarWinds Server & Application Monitor : Deployment and Administration

In DetailAs a community or process administrator, your basic accountability is to make sure excessive availability of all controlled IT companies. there are various tracking instruments on hand; yet those might be complex and costly, and should purely visual display unit definite components of your community. SolarWinds Server & software computer screen : Deployment and management is an intuitive, all-encompassing, but low-cost, enterprise-level community tracking provider.

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

Sample text

Download PDF sample

Rated 4.39 of 5 – based on 6 votes