Expert Python Programming: Become a master in Python by learning coding best practices and advanced programming concepts in Python 3.7,3rd Edition
Authors: Michal Jaworski – Tarek Ziade
ISBN-10: 1789808898
ISBN-13: 9781789808896
Publication Date 出版日期: 2019-04-30
Print Length 页数: 646 pages
Publisher finelybook 出版社: Packt
Book Description
By finelybook
Refine your Python programming skills and build professional grade applications with this comprehensive guide
Python is a dynamic programming language that’s used in a wide range of domains thanks to its simple yet powerful nature. Although writing Python code is easy,making it readable,reusable,and easy to maintain is challenging. Complete with best practices,useful tools,and standards implemented by professional Python developers,the third edition of Expert Python Programming will help you overcome this challenge.
The book will start by taking you through the new features in Python 3.7. You’ll then learn the advanced components of Python syntax,in addition to understanding how to apply concepts of various programming paradigms,including object-oriented programming,functional programming,and event-driven programming. This book will also guide you through learning the best naming practices,writing your own distributable Python packages,and getting up to speed with automated ways of deploying your software on remote servers. You’ll discover how to create useful Python extensions with C,C++,Cython,and CFFI. Furthermore,studying about code management tools,writing clear documentation,and exploring test-driven development will help you write clean code.
By the end of the book,you will have become an expert in writing efficient and maintainable Python code.
What you will learn
Explore modern ways of setting up repeatable and consistent development environments
Package Python code effectively 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 Python with code written in different languages
Integrate Python with code written in different languages
contents
1 Current Status of Python
2 Modern Python Development Environments
3 Modern Syntax Elements – Below the Class Level
4 Modern Syntax Elements – Above the Class Level
5 Elements of Metaprogramming
6 Choosing Good Names
7 Writing a Package
8 Deploying the Code
9 Python Extensions in Other Languages
10 Managing Code
11 Documenting Your Project
12 Test-Driven Development
13 Optimization – Principles and Profiling Techniques
14 Optimization – Some Powerful Techniques
15 Concurrency
16 Event-Driven and Signal Programming
17 Useful Design Patterns