My Account Log in

1 option

Python in practice : create better programs using concurrency, libraries, and patterns

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Summerfield, Mark, Author.
Series:
Developer's library series Python in practice
Language:
English
Subjects (All):
Python (Computer program language).
Physical Description:
1 online resource (1 v.) : ill.
Edition:
1st edition
Place of Publication:
[Place of publication not identified] Addison Wesley 2014
Language Note:
English
System Details:
text file
Summary:
Winner of the 2014 Jolt Award for "Best Book" “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 www.qtrac.eu/pipbook.html. 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
Contents:
About This eBook
Title Page
Copyright Page
Dedication Page
Contents at a Glance
Contents
Introduction to Python in Practice
Acknowledgments
1. Creational Design Patterns in Python
1.1. Abstract Factory Pattern
1.2. Builder Pattern
1.3. Factory Method Pattern
1.4. Prototype Pattern
1.5. Singleton Pattern
2. Structural Design Patterns in Python
2.1. Adapter Pattern
2.2. Bridge Pattern
2.3. Composite Pattern
2.4. Decorator Pattern
2.5. Façade Pattern
2.6. Flyweight Pattern
2.7. Proxy Pattern
3. Behavioral Design Patterns in Python
3.1. Chain of Responsibility Pattern
3.2. Command Pattern
3.3. Interpreter Pattern
3.4. Iterator Pattern
3.5. Mediator Pattern
3.6. Memento Pattern
3.7. Observer Pattern
3.8. State Pattern
3.9. Strategy Pattern
3.10. Template Method Pattern
3.11. Visitor Pattern
3.12. Case Study: An Image Package
4. High-Level Concurrency in Python
4.1. CPU-Bound Concurrency
4.2. I/O-Bound Concurrency
4.3. Case Study: A Concurrent GUI Application
5. Extending Python
5.1. Accessing C Libraries with ctypes
5.2. Using Cython
5.3. Case Study: An Accelerated Image Package
6. High-Level Networking in Python
6.1. Writing XML-RPC Applications
6.2. Writing RPyC Applications
7. Graphical User Interfaces with Python and Tkinter
7.1. Introduction to Tkinter
7.2. Creating Dialogs with Tkinter
7.3. Creating Main-Window Applications with Tkinter
8. OpenGL 3D Graphics in Python
8.1. A Perspective Scene
8.2. An Orthographic Game
A. Epilogue
B. Selected Bibliography
Index
Mark Summerfield
Production.
Notes:
Bibliographic Level Mode of Issuance: Monograph
Includes bibliographical references and index.
Description based on publisher supplied metadata and other sources.
ISBN:
9780133373233
0133373231
9780133373226
0133373223
9780321905635
0321905636
OCLC:
858681794

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account