Learning Python Application Development

Ninad Sathaye

商品描述

Key Features

  • Get to grips with Python techniques that address commonly encountered problems in general application development.
  • Develop, package, and deploy efficient applications in a fun way.
  • All-practical coverage of the major areas of application development, including best practices, exception handling, testing, refactoring, design patterns, performance, and GUI application development.

Book Description

Python is one of the most widely used dynamic programming languages, supported by a rich set of libraries and frameworks that enable rapid development. But fast paced development often comes with its own baggage that could bring down the quality, performance, and extensibility of an application. This book will show you ways to handle such problems and write better Python applications.

From the basics of simple command-line applications, develop your skills all the way to designing efficient and advanced Python apps. Guided by a light-hearted fantasy learning theme, overcome the real-world problems of complex Python development with practical solutions. Beginning with a focus on robustness, packaging, and releasing application code, you'll move on to focus on improving application lifetime by making code extensible, reusable, and readable. Get to grips with Python refactoring, design patterns and best practices. Techniques to identify the bottlenecks and improve performance are covered in a series of chapters devoted to performance, before closing with a look at developing Python GUIs.

What you will learn

  • Build a robust application by handling exceptions.
  • Modularize, package, and release the source distribution.
  • Document the code and implement coding standards.
  • Create automated tests to catch bugs in the early development stage.
  • Identify and re-factor badly written code to improve application life.
  • Detect recurring problems in the code and apply design patterns.
  • Improve code efficiency by identifying performance bottlenecks and fixing them.
  • Develop simple GUI applications using Python.

About the Author

Ninad Sathaye has spent several years of his professional career designing and developing performance-critical engineering applications written in a variety of languages, including Python and C++. He has worked as a software architect in the semiconductor industry, and more recently in the domain of Internet of Things. He holds a master's degree in mechanical engineering.

Table of Contents

  1. Developing Simple Applications
  2. Dealing with Exceptions
  3. Modularize, Package, Deploy!
  4. Documentation and Best Practices
  5. Unit Testing and Refactoring
  6. Design Patterns
  7. Performance – Identifying Bottlenecks
  8. Improving Performance – Part One
  9. Improving Performance – Part Two, NumPy and Parallelization
  10. Simple GUI Applications

商品描述(中文翻譯)

主要特點



  • 掌握解決一般應用程式開發中常見問題的Python技巧。

  • 以有趣的方式開發、打包和部署高效的應用程式。

  • 全面實用地涵蓋應用程式開發的主要領域,包括最佳實踐、例外處理、測試、重構、設計模式、效能和GUI應用程式開發。

書籍描述


Python是一種廣泛使用的動態程式語言,支援豐富的函式庫和框架,可實現快速開發。但快節奏的開發往往伴隨著可能降低應用程式的品質、效能和可擴展性的問題。本書將向您展示如何處理這些問題,並撰寫更好的Python應用程式。


從簡單的命令列應用程式基礎開始,逐步發展您的技能,設計高效且先進的Python應用程式。在輕鬆幽默的奇幻學習主題指引下,以實用解決方案克服複雜Python開發的現實問題。從強調韌性、打包和發布應用程式代碼開始,然後專注於通過使代碼可擴展、可重用和可讀性更強來改善應用程式的生命週期。掌握Python重構、設計模式和最佳實踐。本書還涵蓋了一系列關於性能的章節,介紹了識別瓶頸並改善性能的技術,最後介紹了開發Python GUI的方法。

您將學到什麼



  • 通過處理例外情況來構建堅固的應用程式。

  • 模組化、打包和發布源代碼分佈。

  • 編寫代碼文檔並實施編碼標準。

  • 創建自動化測試以在早期開發階段捕捉錯誤。

  • 識別並重構編寫不良的代碼以改善應用程式生命週期。

  • 檢測代碼中的重複問題並應用設計模式。

  • 通過識別性能瓶頸並修復它們來提高代碼效率。

  • 使用Python開發簡單的GUI應用程式。

關於作者


Ninad Sathaye在其專業生涯中花了多年時間設計和開發性能關鍵的工程應用程式,使用了多種語言,包括Python和C++。他曾在半導體行業擔任軟體架構師,最近在物聯網領域工作。他擁有機械工程碩士學位。

目錄



  1. 開發簡單應用程式

  2. 處理例外情況

  3. 模組化、打包、部署!

  4. 文檔和最佳實踐

  5. 單元測試和重構

  6. 設計模式

  7. 性能 - 識別瓶頸

  8. 提高性能 - 第一部分

  9. 提高性能 - 第二部分,NumPy和並行化

  10. 簡單GUI應用程式