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和PySpark数据分析
(加)乔纳森·里乌
Python in Practice:Create Better Programs Using Concurrency, Libraries, and Patterns
Python机器学习入门与实践 从深度学习到生成对抗网络GAN 深入浅出GAN生成对抗网络 实战gan TensorFlow与Keras 人工智能技术书籍
(日)大关真之
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语言程序设计(微课版)
宁爱军 何志永
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基础与应用(互联网+教育新形态一体化系列教材)
李喆时、谢家立、赵丽 编
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
世界啤酒地图: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