Expert Python Programming - Fourth Edition: Master Python by learning the best coding practices and advanced programming concepts

Jaworski, Michal, Ziadé, Tarek

  • 出版商: Packt Publishing
  • 出版日期: 2021-05-28
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 630
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1801071101
  • ISBN-13: 9781801071109
  • 相關分類: Python程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Attain a deep understanding of building, maintaining, packaging, and shipping robust Python applications


Key Features:

  • Discover the new features of Python, such as dictionary merge, the zoneinfo module, and structural pattern matching
  • Create manageable code to run in various environments with different sets of dependencies
  • Implement effective Python data structures and algorithms to write, test, and optimize code


Book Description:

Python is used in a wide range of domains owing to its simple yet powerful nature. Although writing Python code is easy, making it readable, reusable, and easy to maintain can be challenging. Complete with best practices, useful tools, and standards implemented by professional Python developers, this fourth edition will help you in not only overcoming such challenges but also learning Python's latest features and advanced concepts.


The book begins with a warm-up, where you will catch-up with the latest Python improvements, syntax elements, and interesting tools to boost your development efficiency. Further, the initial few chapters should allow experienced programmers coming from different languages to safely land in the Python ecosystem.


As you progress, you will explore common software design patterns and various programming methodologies, such as event-driven programming, concurrency, and metaprogramming. You will also go through complex code examples and try to solve meaningful problems by bridging Python with C and C++, writing extensions that benefit from the strengths of multiple languages. Finally, you will understand the complete lifetime of any application after it goes live.


By the end of the book, you should be proficient in writing efficient and maintainable Python code.


What You Will Learn:

  • Explore modern ways of setting up repeatable and consistent Python development environments
  • Effectively package Python code for community and production use
  • Learn modern syntax elements of Python programming, such as f-strings, enums, and lambda functions
  • Demystify metaprogramming in Python with metaclasses
  • Write concurrent code in Python
  • Extend and integrate Python with code written in different languages


Who this book is for:

The Python programming book is intended for expert programmers who want to learn Python's advanced-level concepts and latest features.

Anyone who has basic Python skills should be able to follow the content of the book, although it might require some additional effort from less experienced programmers. It should also be a good introduction to Python 3.9 for those who are still a bit behind and continue to use other older versions.

商品描述(中文翻譯)

深入了解構建、維護、打包和發布強大的Python應用程式

主要特點:
- 探索Python的新功能,如字典合併、zoneinfo模組和結構化模式匹配
- 創建可在不同依賴集的各種環境中運行的可管理代碼
- 實現有效的Python數據結構和算法,以編寫、測試和優化代碼

書籍描述:
由於其簡單而強大的特性,Python在各個領域都被廣泛使用。儘管編寫Python代碼很容易,但使其易讀、可重用且易於維護可能具有挑戰性。本書的第四版包含了最佳實踐、有用的工具和由專業Python開發人員實施的標準,不僅可以幫助您克服這些挑戰,還可以學習Python的最新功能和高級概念。

本書以熱身開始,您將了解最新的Python改進、語法元素和有趣的工具,以提高開發效率。此外,最初的幾章應該能讓來自不同語言的有經驗的程序員安全地進入Python生態系統。

隨著學習的深入,您將探索常見的軟件設計模式和各種編程方法,如事件驅動編程、並發和元編程。您還將通過複雜的代碼示例並嘗試通過將Python與C和C++結合,編寫能夠充分利用多種語言優勢的擴展來解決有意義的問題。最後,您將了解應用程序在上線後的完整生命周期。

通過閱讀本書,您應該能夠熟練地編寫高效且易於維護的Python代碼。

學到什麼:
- 探索建立可重複且一致的Python開發環境的現代方法
- 有效地對Python代碼進行打包,以供社區和生產使用
- 學習Python編程的現代語法元素,如f-strings、enums和lambda函數
- 通過元類解密Python中的元編程
- 在Python中編寫並發代碼
- 將Python擴展和集成到使用不同語言編寫的代碼中

本書適合專業程序員,他們希望學習Python的高級概念和最新功能。

任何具備基本Python技能的人都應該能夠理解本書的內容,儘管對於經驗較少的程序員可能需要一些額外的努力。對於那些仍然使用較舊版本並希望了解Python 3.9的人來說,本書也是一個很好的入門資料。