Book description
Gain 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
This new edition of Expert Python Programming provides you with a thorough understanding of the process of building and maintaining Python apps. Complete with best practices, useful tools, and standards implemented by professional Python developers, this fourth edition has been extensively updated. Throughout this book, you'll get acquainted with the latest Python improvements, syntax elements, and interesting tools to boost your development efficiency.
The initial few chapters will allow experienced programmers coming from different languages to transition to the Python ecosystem. 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, including packaging and testing automation.
By the end of this book, you will have gained actionable Python programming insights that will help you effectively solve challenging problems.
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 C and C++
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.
Table of contents
- Preface
- Current Status of Python
- Modern Python Development Environments
- New Things in Python
- Python in Comparison with Other Languages
- Interfaces, Patterns, and Modularity
- Concurrency
- Event-Driven Programming
- Elements of Metaprogramming
- Bridging Python with C and C++
- Testing and Quality Automation
-
Packaging and Distributing Python Code
- Technical requirements
- Packaging and distributing libraries
- Packaging applications and services for the web
- Creating standalone executables
- Summary
- Observing Application Behavior and Performance
- Code Optimization
- Other Books You May Enjoy
- Index
Product information
- Title: Expert Python Programming - Fourth Edition
- Author(s):
- Release date: May 2021
- Publisher(s): Packt Publishing
- ISBN: 9781801071109
You might also like
book
Python Object-Oriented Programming - Fourth Edition
A comprehensive guide to exploring modern Python through data structures, design patterns, and effective object-oriented techniques …
book
Learn Python Programming - Third Edition
Get up and running with Python 3.9 through concise tutorials and practical projects in this fully …
book
Learning Python, 5th Edition
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on …
book
Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition
Updated and Expanded for Python 3 It’s easy to start developing programs with Python, which is …