Pro Python 3: Features and Tools for Professional Development, 3rd
暫譯: 專業 Python 3:專業開發的特性與工具(第三版)
J. Burton Browning
商品描述
Refine your programming techniques and approaches to become a more productive and creative Python programmer. This book explores the concepts and features that will improve not only your code but also your understanding of the Python community with insights and details about the Python philosophy.
Pro Python 3, Third Edition gives you the tools to write clean, innovative code. It starts with a review of some core Python principles, which are illustrated by various concepts and examples later in the book. The first half of the book explores aspects of functions, classes, protocols, and strings, describing techniques which may not be common knowledge, but which together form a solid foundation. Later chapters cover documentation, testing, and app distribution. Along the way, you’ll develop a complex Python framework that incorporates ideas learned throughout the book.
Updates in this edition include the role of iterators in Python 3, web scraping with Scrapy and BeautifulSoup, using Requests to call web pages without strings, new tools for distribution and installation, and much more. By the end of the book you'll be ready to deploy uncommon features that can take your skills to the next level in Python.
What You’ll Learn
- Implement programs with various types of Python functions
- Work with classes and object-oriented programming
- Use strings from the standard library and third-party libraries
- Harvest web site data with Python
- Automate unit testing by writing a test suite
- Review imaging, random number generation, and NumPy scientific extensions
- Understand The Zen of Python documentation to help you decide the best way to distribute your code
Who This Book Is For
Intermediate programmers familiar with Python who are looking to move to an advanced level. You should have written at least a simple Python application, and be comfortable with a basic object-oriented approach, using the interactive interpreter, and writing control structures.
商品描述(中文翻譯)
精煉您的程式設計技術和方法,成為更具生產力和創造力的 Python 程式設計師。本書探討的概念和特性不僅能改善您的程式碼,還能增進您對 Python 社群的理解,並提供有關 Python 哲學的見解和細節。
《Pro Python 3》第三版為您提供撰寫乾淨、創新的程式碼所需的工具。書中首先回顧一些核心的 Python 原則,這些原則在後面的章節中通過各種概念和範例進行說明。本書的前半部分探討函數、類別、協定和字串的各個方面,描述一些可能不為人知的技術,但這些技術共同構成了堅實的基礎。後面的章節涵蓋文檔、測試和應用程式分發。在這個過程中,您將開發一個複雜的 Python 框架,整合書中學到的概念。
本版的更新包括 Python 3 中迭代器的角色、使用 Scrapy 和 BeautifulSoup 進行網頁擷取、使用 Requests 呼叫網頁而不使用字串、新的分發和安裝工具等。到書的結尾,您將準備好部署不常見的功能,將您的 Python 技能提升到更高的水平。
您將學到的內容:
- 實作各類型的 Python 函數的程式
- 使用類別和物件導向程式設計
- 使用標準庫和第三方庫中的字串
- 使用 Python 擷取網站數據
- 通過編寫測試套件自動化單元測試
- 回顧影像處理、隨機數生成和 NumPy 科學擴展
- 理解 Python 的 Zen 文檔,以幫助您決定最佳的程式碼分發方式
本書適合對象:
適合熟悉 Python 的中級程式設計師,想要提升到進階水平。您應該至少編寫過一個簡單的 Python 應用程式,並對基本的物件導向方法、使用互動式解釋器和編寫控制結構感到舒適。
作者簡介
Dr. J. Burton Browning earned his doctorate from North Carolina State University. He has conducted research in areas including: distance learning, programming, and instructional technology. As a life-long learner and someone who has interests in topics such as: programming, photography, robotics, car restoration, wood working, hunting, reading, fishing, and archery, he is never at a loss for something to do. The art and joy of serving as a professor suits his inquisitive nature. Dr. Browning’s previous publications include works on Cross-Functional Learning Teams (CFLT), The Utopian School (teacher-led school model), computer programming (several languages), open-source software, healthcare statistics and data mining, CNC plasma cutter operation, educational technology, biography, mobile learning, online teaching, and more.
By day, Marty Alchin works as a senior software engineer at Heroku, and after that, he writes and codes for fun and community. His blog can be found at http://martyalchin.com/ and he has profiles on many other services under the name Gulopine. In particular, his code can be found on GitHub and his random thoughts are on Twitter.
作者簡介(中文翻譯)
Dr. J. Burton Browning 於北卡羅來納州立大學獲得博士學位。他的研究領域包括:遠距學習、程式設計和教學技術。作為一位終身學習者,他對於程式設計、攝影、機器人技術、汽車修復、木工、狩獵、閱讀、釣魚和射箭等主題充滿興趣,總是有事情可做。擔任教授的藝術和樂趣非常符合他的好奇天性。Browning 博士的先前出版物包括關於跨功能學習團隊 (Cross-Functional Learning Teams, CFLT)、烏托邦學校 (The Utopian School,教師主導的學校模式)、電腦程式設計(多種語言)、開源軟體、醫療統計與資料挖掘、CNC 等離子切割機操作、教育技術、傳記、行動學習、線上教學等主題的著作。
白天,Marty Alchin 在 Heroku 擔任資深軟體工程師,之後他會為了樂趣和社群進行寫作和編碼。他的部落格可以在 http://martyalchin.com/ 找到,他在許多其他服務上以 Gulopine 的名義擁有個人檔案。特別是,他的程式碼可以在 GitHub 上找到,而他的隨想則在 Twitter 上發表。