Expert Python Programming, 2/e (Paperback)
Michal Jaworski, Tarek Ziade
- 出版商: Packt Publishing
- 出版日期: 2016-05-20
- 定價: $1,490
- 售價: 5.0 折 $745
- 語言: 英文
- 頁數: 536
- 裝訂: Paperback
- ISBN: 1785886851
- ISBN-13: 9781785886850
-
相關分類:
Python、程式語言
-
相關翻譯:
Python 高級編程, 2/e (Expert Python programming) (簡中版)
-
其他版本:
Expert Python Programming 3/e
買這商品的人也買了...
相關主題
商品描述
Become an ace Python programmer by learning best coding practices and advance-level concepts with Python 3.5
About This Book
- Based on the latest stable version of Python (version 3.5)
- Creating well manageable code that will run in various environments with different sets of dependencies
- Packed with advanced concepts and best practices to write efficient Python code
Who This Book Is For
The book would appeal to web developers and Python programmers who want to start using version 3.5 and write code efficiently. Basic knowledge of Python programming is expected.
What You Will Learn
- Conventions and best practices that are widely adopted in the python community
- Package python code effectively for community and production use
- Easy and lightweight ways to automate code deployment on remote systems
- Improve your code's quality, reliability, and performance
- Write concurrent code in python
- Extend python with code written in different languages
In Detail
Python is a dynamic programming language, used in a wide range of domains by programmers who find it simple, yet powerful. Even if you find writing Python code easy, writing code that is efficient and easy to maintain and reuse is a challenge.
The focus of the book is to familiarize you with common conventions, best practices, useful tools and standards used by python professionals on a daily basis when working with code.
You will begin with knowing new features in Python 3.5 and quick tricks for improving productivity. Next, you will learn advanced and useful python syntax elements brought to this new version. Using advanced object-oriented concepts and mechanisms available in python, you will learn different approaches to implement metaprogramming. You will learn to choose good names, write packages, and create standalone executables easily.
You will also be using some powerful tools such as buildout and vitualenv to release and deploy the code on remote servers for production use. Moving on, you will learn to effectively create Python extensions with C, C++, cython, and pyrex. The important factors while writing code such as code management tools, writing clear documentation, and test-driven development are also covered.
You will now dive deeper to make your code efficient with general rules of optimization, strategies for finding bottlenecks, and selected tools for application optimization.
By the end of the book, you will be an expert in writing efficient and maintainable code.
Style and approach
An easy-to-follow guide that covers industry followed best practices in Python programming
商品描述(中文翻譯)
成為一位優秀的Python程式設計師,學習Python 3.5的最佳編碼實踐和高級概念。
關於本書
- 基於最新穩定版本的Python(版本3.5)
- 創建易於管理的代碼,可在不同依賴集的各種環境中運行
- 包含高級概念和最佳實踐,以編寫高效的Python代碼
適合閱讀對象
本書適合網站開發人員和Python程式設計師,他們想要開始使用3.5版本並高效地編寫代碼。預期讀者具備基本的Python程式設計知識。
你將學到什麼
- 在Python社區廣泛採用的慣例和最佳實踐
- 有效地為社區和生產使用打包Python代碼
- 輕鬆且輕量級地自動化遠程系統上的代碼部署
- 提高代碼的質量、可靠性和性能
- 在Python中編寫並行代碼
- 使用其他語言編寫的代碼擴展Python
詳細內容
Python是一種動態編程語言,被廣泛應用於各個領域,程式設計師們認為它既簡單又強大。即使你覺得編寫Python代碼很容易,但編寫高效且易於維護和重用的代碼是一個挑戰。
本書的重點是讓你熟悉常見的慣例、最佳實踐、有用的工具和標準,這些是Python專業人士在日常工作中使用的。
你將首先了解Python 3.5的新功能和提高生產力的技巧。接下來,你將學習到這個新版本中引入的高級和有用的Python語法元素。使用Python中可用的高級面向對象的概念和機制,你將學習不同的元編程實現方法。你將學習選擇良好的名稱、編寫包和輕鬆創建獨立執行文件。
你還將使用一些強大的工具,如buildout和vitualenv,將代碼釋放和部署到遠程服務器上以供生產使用。接下來,你將學習如何使用C、C++、cython和pyrex有效地創建Python擴展。本書還涵蓋了代碼管理工具、編寫清晰文檔和測試驅動開發等編寫代碼時的重要因素。
最後,你將深入研究通過優化的一般規則、尋找瓶頸的策略和選擇的應用優化工具,使你的代碼更加高效。
通過閱讀本書,你將成為一位編寫高效且易於維護的代碼專家。
風格和方法
一本易於遵循的指南,介紹了Python程式設計中遵循的行業最佳實踐。