Python in Practice

0
(0)

Python in Practice
 

  • Author:Mark Summerfield
  • Length: 336 pages
  • Edition: 1
  • Publisher: Addison-Wesley Professional
  • Publication Date: 2013-08-29
  • ISBN-10: 0321905636
  • ISBN-13: 9780321905635
  • Sales Rank: #785317 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Python in Practice: Create Better Programs Using Concurrency, Libraries, and Patterns (Developer’s Library)

    “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

    Table of Contents

    Chapter 1. Creational Design Patterns in Python
    Chapter 2. Structural Design Patterns in Python
    Chapter 3. Behavioral Design Patterns in Python
    Chapter 4. High-Level Concurrency in Python
    Chapter 5. Extending Python
    Chapter 6. High-Level Networking in Python
    Chapter 7. Graphical User Interfaces with Python and Tkinter
    Chapter 8. OpenGL 3D Graphics in Python
    Appendix A. Epilogue
    Appendix B. Selected Bibliography

    中文:

    书名:Python in Practice

    使用并发、库和模式创建更好的程序(开发人员的库)

    无论你是一名经验丰富的程序员,还是刚刚开始你的职业生涯,在实践中,通过从不同角度思考问题、引入工具和详细介绍技术来创建更有效的解决方案,Python都充满了宝贵的建议和范例,帮助你改进自己的手艺。

    -道格·赫尔曼,Dreamhost高级开发人员

    如果您是一位经验丰富的Python程序员, 实践中的巨蟒 将帮助您提高所有Python程序的质量、可靠性、速度、可维护性和可用性。

    Mark Summerfield专注于四个关键主题:优雅编码的设计模式、通过并发和编译的Python(Cython)实现更快的处理、高级联网和图形。他确定了在Python中有用的经过充分验证的设计模式,并用专家质量的代码说明了它们,并解释了为什么一些面向对象的设计模式与Python无关。他还揭露了几个关于Python编程的事与愿违的误区–例如,他展示了Python如何充分利用多核硬件。

    所有示例,包括三个完整的案例研究,都已经在Python3.3(如果可能的话,还有Python3.2和3.1)上进行了测试,并且经过精心设计以保持与未来的Python3.x版本的兼容性。所有代码都在Linux上进行了测试,大多数代码也都在OS X和Windows上进行了测试。所有代码都可以在www.qtrac.eu/Pipbook.html上下载。

    覆盖范围包括

    • Leveraging Python’s most effective creational, structural, and behavioral design patterns
    • 通过Python的多处理、线程和并发支持并发。未来模块
    • 使用线程安全的队列和期货而不是脆弱的锁来避免并发问题
    • 通过包括xmlrpclib和RPYC在内的高级模块简化网络
    • 使用Cython、基于C的Python模块、性能分析和其他技术加速Python代码
    • 使用Tkinter创建外观现代的图形用户界面应用程序
    • 通过使用pyglet和PyOpenGL的OpenGL API利用当今强大的图形硬件

    目录表

    第1章:Python中的创造性设计模式
    第2章:Python中的结构设计模式
    Chapter 3. Behavioral Design Patterns in Python
    第4章.Python中的高级并发
    第5章:扩展Python
    第6章.Python中的高级网络
    第7章.使用Python和Tkinter的图形用户界面
    第8章.在Python中使用OpenGL 3D图形
    附录A.结束语
    Appendix B. Selected Bibliography

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册