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





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


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