Modern Python Cookbook: 140+ Updated Recipes for Modern Python 3.12 with New Techniques and Tools
Modern Python Cookbook: 140+ Updated Recipes for Modern Python 3.12 with New Techniques and Tools
English | ISBN: 1835466389 | 2024 | EPUB | 450 pages | 7 MB
Steven F. Lott, “Modern Python Cookbook: 140+ Updated Recipes for Modern Python 3.12 with New Techniques and Tools “
Enhance your Python skills with the third edition of Modern Python Cookbook with over 140 new and updated recipes covering Python 3.12, including new chapters on performance, optimization, data visualization, and more.
Key Features
Comprehensive coverage of Python 3.12 with updated recipes and techniques
New chapters on performance optimization, data visualization, and dependency management
Practical, concrete examples and detailed explanations to solve real-world problems
Book Description
Python is the go-to language for developers, engineers, data scientists, and hobbyists worldwide. Known for its versatility, Python can efficiently power applications, offering remarkable speed, safety, and scalability. This book distills Python into a collection of straightforward recipes, providing insights into specific language features within various contexts, making it an indispensable resource for mastering Python and using it to handle real-world use cases.
The third edition of Modern Python Cookbook provides an in-depth look into Python 3.12, offering more than 140 new and updated recipes that cater to both beginners and experienced developers. This edition introduces new chapters on performance and optimization, data visualization with Matplotlib, Seaborn, and Plotly, and advanced dependency management techniques using tools like Poetry and Anaconda. With practical examples and detailed explanations, this cookbook helps developers solve real-world problems, optimize their code, and get up to date with the latest Python features.
What you will learn
Master core Python data structures, algorithms, and design patterns
Implement object-oriented designs and functional programming features
Optimize code performance and resource efficiency using profiling tools
Create useful data visualizations with Matplotlib, Seaborn, and Plotly
Manage project dependencies and virtual environments effectively
Follow best practices for code style and testing
Create clear and trustworthy documentation for your projects
Who this book is for
This Python book is for web developers, programmers, enterprise programmers, engineers, and big data scientists. If you are a beginner, this book can provide helpful details and design patterns. If you are experienced, it will expand your knowledge base. Some fundamental knowledge of Python and basic programming principles would be helpful.
Table of Contents
Numbers, Strings, and Tuples
Statements and Syntax
Function Definitions
Built-In Data Structures Part 1: Lists and Sets
Built-In Data Structures Part 2: Dictionaries
User Inputs and Outputs
Basics of Classes and Objects
More Advanced Class Design
Functional Programming Features
Type Matching and Annotations
Input/Output, Physical Format, and Logical Layout
Graphics and Visualization
Application Integration: Configuration
Application Integration: Combining Applications
Testing
Performance and Optimization
Dependencies and Virtual Environments
Documentation and Style