Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns

Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
2013-08
ISBN: 9780321905635
装帧: 其他
开本: 其他
纸张: 其他
  • Python in Practice presents Python programming technologies and techniques to help programmers write code that's elegant, maintainable, and fast. Drawing on both the standard library and important third-party libraries, the book shows how to achieve si Table of Contents
    Foreword by Doug Hellmann
    Introduction
    Acknowledgements
    Chapter 1. Creational Design Patterns
    Abstract Factory Pattern
    A Classic Abstract Factory
    A More Pythonic Abstract Factory
    Builder Pattern
    Factory Method Pattern
    Prototype Pattern
    Singleton Pattern
    Chapter 2. Structural Design Patterns
    Adapter Pattern
    Bridge Pattern
    Composite Pattern
    A Classic Composite/Noncomposite Hierarchy
    A Single Class for (Non)Composites
    Decorator Pattern
    Function and Method Decorators
    Class Decorators
    Facade Pattern
    Flyweight Pattern
    Proxy Pattern
    Chapter 3. Behavioral Design Patterns
    Chain of Responsibility Pattern
    A Conventional Chain
    A Coroutine-based Chain
    Command Pattern
    Interpreter Pattern
    Expression Evaluation with eval()
    Code Evaluation with exec()
    Code Evaluation using a Subprocess
    Iterator Pattern
    Sequence Protocol Iterators
    Two-argument iter() Function Iterators
    Iterator Protocol Iterators
    Mediator Pattern
    A Conventional Mediator
    A Coroutine-based Mediator
    Memento Pattern
    Observer Pattern
    State Pattern
    Using State-Sensitive Methods
    Using State-Specific Methods
    Strategy Pattern
    Template Method Pattern
    Visitor Pattern
    Case Study: An Image Package
    Chapter 4. High-Level Concurrency
    CPU-bound Concurrency
    Using Queues and Multiprocessing
    Using Futures and Multiprocessing
    I/O-bound Concurrency
    Using Queues and Threading
    Using Futures and Threading
    Case Study: A Concurrent GUI Application
    Chapter 5. Extending Python
    Accessing C Libraries with ctypes
    Using Cython
    Accessing c Libraries with Cython
    Writing Cython Modules for Greater Speed
    Case Study: An Accelerated Image Package
    Chapter 6. High-Level Networking
    Writing XML-RPC Applications
    A Data Wrapper
    Writing XML-RPC Servers
    Writing XML-RPC Clients
    Writing RPyC Applications
    A Thread-Safe Data Wrapper
    Writing RPyC Servers
    Writing RPyC Clients
    Chapter 7. Graphical User Interfaces with Tkinter
    Introduction to Tkinter
    Creating Dialogs with Tkinter
    Creating a Dialog-style Application
    Creating Application Dialogs
    Creating Main Window Applications with Tkinter
    Creating a Main Window
    Creating Menus
    Creating a Status Bar with Indicators
    Chapter 8. OpenGL 3D Graphics
    A Perspective Scene
    Creating a Cylinder with PyOpenGL
    Creating a Cylinder with pyglet
    An Orthographic Game
    Drawing the Board Scene
    Handling Scene Object Selection
    Handling User Interaction
    Appendix A: Epilogue
    Appendix B: Selected Bibliograpy
    Index
  • 内容简介:
    Python in Practice presents Python programming technologies and techniques to help programmers write code that's elegant, maintainable, and fast. Drawing on both the standard library and important third-party libraries, the book shows how to achieve si
  • 目录:
    Table of Contents
    Foreword by Doug Hellmann
    Introduction
    Acknowledgements
    Chapter 1. Creational Design Patterns
    Abstract Factory Pattern
    A Classic Abstract Factory
    A More Pythonic Abstract Factory
    Builder Pattern
    Factory Method Pattern
    Prototype Pattern
    Singleton Pattern
    Chapter 2. Structural Design Patterns
    Adapter Pattern
    Bridge Pattern
    Composite Pattern
    A Classic Composite/Noncomposite Hierarchy
    A Single Class for (Non)Composites
    Decorator Pattern
    Function and Method Decorators
    Class Decorators
    Facade Pattern
    Flyweight Pattern
    Proxy Pattern
    Chapter 3. Behavioral Design Patterns
    Chain of Responsibility Pattern
    A Conventional Chain
    A Coroutine-based Chain
    Command Pattern
    Interpreter Pattern
    Expression Evaluation with eval()
    Code Evaluation with exec()
    Code Evaluation using a Subprocess
    Iterator Pattern
    Sequence Protocol Iterators
    Two-argument iter() Function Iterators
    Iterator Protocol Iterators
    Mediator Pattern
    A Conventional Mediator
    A Coroutine-based Mediator
    Memento Pattern
    Observer Pattern
    State Pattern
    Using State-Sensitive Methods
    Using State-Specific Methods
    Strategy Pattern
    Template Method Pattern
    Visitor Pattern
    Case Study: An Image Package
    Chapter 4. High-Level Concurrency
    CPU-bound Concurrency
    Using Queues and Multiprocessing
    Using Futures and Multiprocessing
    I/O-bound Concurrency
    Using Queues and Threading
    Using Futures and Threading
    Case Study: A Concurrent GUI Application
    Chapter 5. Extending Python
    Accessing C Libraries with ctypes
    Using Cython
    Accessing c Libraries with Cython
    Writing Cython Modules for Greater Speed
    Case Study: An Accelerated Image Package
    Chapter 6. High-Level Networking
    Writing XML-RPC Applications
    A Data Wrapper
    Writing XML-RPC Servers
    Writing XML-RPC Clients
    Writing RPyC Applications
    A Thread-Safe Data Wrapper
    Writing RPyC Servers
    Writing RPyC Clients
    Chapter 7. Graphical User Interfaces with Tkinter
    Introduction to Tkinter
    Creating Dialogs with Tkinter
    Creating a Dialog-style Application
    Creating Application Dialogs
    Creating Main Window Applications with Tkinter
    Creating a Main Window
    Creating Menus
    Creating a Status Bar with Indicators
    Chapter 8. OpenGL 3D Graphics
    A Perspective Scene
    Creating a Cylinder with PyOpenGL
    Creating a Cylinder with pyglet
    An Orthographic Game
    Drawing the Board Scene
    Handling Scene Object Selection
    Handling User Interaction
    Appendix A: Epilogue
    Appendix B: Selected Bibliograpy
    Index
查看详情
目前没有书店销售此书
相关图书 / 更多
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python财务数据分析微课版
徐万紫
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python数据挖掘实战——数据陷阱与异常检测
刘宁
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python程序设计教程(第2版 微课版)
储岳中 薛希玲
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python程序设计实践教程(第2版)
储岳中 薛希玲
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python数值分析算法实践
王娟
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python数据分析、挖掘与可视化(慕课版 第2版)
董付国
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python架构模式:精通基于Python的API设计、事件驱动架构和包管理 [爱尔兰]詹姆·布尔塔
(爱尔兰)詹姆·布尔塔
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python服务端测试开发实战
无涯
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python量化投资指南——基础、数据与实战
付志刚 等
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python程序设计基础
接标 陈付龙
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python贝叶斯建模与计算
[阿根廷] 奥斯瓦尔多·A. 马丁(Osvaldo A. Martin),[美]拉万·库马尔(Ravin Kumar)[美]劳俊鹏(Junpeng Lao)著 郭涛 译
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python语言程序设计(王杨)
王杨、常东超 主编
您可能感兴趣 / 更多
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
世界啤酒地图:150种啤酒大赏
Mark Dredge
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
法理学和政治学中的自然法(自然法名著译丛)
Mark C. Murphy
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
机器学习Python版(英文版)
Mark E. Fenner
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
足踝矫形外科:并发症的处理(翻译版)
Mark S. Myerson 著;张明珠、李淑媛 译
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
膝关节外科手术技术(第2版)
Mark D. Miller James A. Browne Brian J. Cole 著;林剑浩 译
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
软件架构基础(影印版)
MarkRichards
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
放松身心:健康和健身的简单新途径
Mark 著;[美]David、Zemach-Bersin、Kaethe、Zemach-Bersin、还国志 译
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
美国血库协会技术手册
Mark K.Fung 著;桂嵘 译
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
投资未来:重构世界与财富的12大科技投资领域
Markman 著;乔恩·D.、马克曼、Jon、D.、胡春皓 译
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
新版剑桥实用专业英语:工程英语(附答案)
Mark Ibbotson
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
AABB技术手册(第18版)
Mark K.Fung 著
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Rapid GUI Programming with Python and Qt:The Definitive Guide to PyQt Programming (Prentice Hall Open Source Software Development)
Mark Summerfield