Book

Python in Practice

by Mark Summerfield

📖 Overview

Python in Practice presents twenty complete programs that demonstrate advanced Python programming concepts and techniques. The code examples cover applications ranging from numerical processing to GUI development and network programming. The book organizes its material into four main sections: data structures and algorithms, concurrent programming, GUI programming, and application architecture. Each program includes detailed explanations of design decisions, implementation strategies, and performance considerations. The author focuses on practical solutions to real-world programming challenges rather than theoretical concepts. Code samples emphasize maintainability, efficiency, and Python best practices while incorporating features from Python 3. The text serves as a bridge between basic Python tutorials and professional development, highlighting patterns and approaches that separate beginner code from production-quality applications. Its emphasis on design patterns and architectural decisions makes it relevant for developers working on large-scale Python projects.

👀 Reviews

Readers value this book as an intermediate-level Python guide focused on practical implementation, though some found it too theoretical at times. Liked: - Clear explanations of design patterns with real examples - Strong coverage of concurrency and multiprocessing - High-quality, reusable code samples - Detailed chapters on numerical computing and GUI development Disliked: - Examples can be overly complex for the concepts shown - Some topics feel rushed or superficial - Prerequisites not clearly stated upfront - Limited coverage of newer Python features Ratings: Amazon: 4.1/5 (42 reviews) Goodreads: 3.8/5 (36 ratings) Notable reader comments: "The pattern implementations are helpful but could be simpler" - Amazon reviewer "Best treatment of concurrent programming I've seen" - Goodreads reviewer "Not for beginners - requires solid Python knowledge" - Amazon reviewer "Good reference but dense for learning" - Goodreads reviewer

📚 Similar books

Python Cookbook by David Beazley Contains practical recipes and patterns for solving real-world programming challenges in Python.

Fluent Python by Luciano Ramalho Demonstrates Python's features through concrete examples and explains the implementation details behind Python's design choices.

Learning Python Design Patterns by Chetan Giridhar Presents common software design patterns implemented in Python with use cases and code examples.

Clean Code in Python by Mariano Anaya Focuses on writing maintainable Python code through refactoring techniques, testing methods, and design principles.

Python for Programmers by Paul Deitel and Harvey Deitel Provides hands-on Python programming examples with emphasis on professional applications and libraries.

🤔 Interesting facts

🔹 Mark Summerfield worked as a developer and manager for over 30 years before becoming a writer, including time at Nokia Research Center. 🔹 The book focuses on 8 complete, practical programs that demonstrate advanced Python concepts like concurrency, high-level networking, and data compression. 🔹 Python in Practice was published in 2013 as a follow-up to Summerfield's earlier work "Programming in Python 3" to address more complex real-world applications. 🔹 The author also created the Rapyd-Tk toolkit and wrote the first book on the PyQt GUI framework, establishing himself as an authority on Python GUI programming. 🔹 One of the book's unique features is its coverage of making Python programs faster without resorting to C/C++, using pure Python optimization techniques.