Modern Python Cookbook - Second Edition: 133 recipes to develop flawless and expressive programs in Python 3.8
內容描述
Complete recipes spread across 15 chapters to help you overcome commonly faced issues by Python for everybody across the globe. Each recipe takes a problem-solution approach to resolve for effective Python.
Key Features
Develop expressive and effective Python programs
Best practices and common idioms through carefully explained recipes
Discover new ways to apply Python for data-focused development
Make use of Python's optional type annotations
Book Description
Python is the preferred choice of developers, engineers, data scientists, and hobbyists everywhere. It is a great language that can power your applications and provide great speed, safety, and scalability. It can be used for simple scripting or sophisticated web applications. By exposing Python as a series of simple recipes, this book gives you insight into specific language features in a particular context. Having a tangible context helps make the language or a given standard library feature easier to understand.
This book comes with 133 recipes on the latest version of Python 3.8. The recipes will benefit everyone, from beginners just starting out with Python to experts. You'll not only learn Python programming concepts but also how to build complex applications.
The recipes will touch upon all necessary Python concepts related to data structures, object oriented programming, functional programming, and statistical programming. You will get acquainted with the nuances of Python syntax and how to effectively take advantage of it.
By the end of this Python book, you will be equipped with knowledge of testing, web services, configuration, and application integration tips and tricks. You will be armed with the knowledge of how to create applications with flexible logging, powerful configuration, command-line options, automated unit tests, and good documentation.
What you will learn
See the intricate details of the Python syntax and how to use it to your advantage
Improve your coding with Python readability through functions
Manipulate data effectively using built-in data structures
Get acquainted with advanced programming techniques in Python
Equip yourself with functional and statistical programming features
Write proper tests to be sure a program works as advertised
Integrate application software using Python
Who this book is for
The Python book is for web developers, programmers, enterprise programmers, engineers, and big data scientists. If you are a beginner, this book will get you started. If you are experienced, it will expand your knowledge base. A basic knowledge of programming would help.
目錄大綱
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
Input/Output, Physical Format, and Logical Layout
Testing
Web Services
Application Integration: Configuration
Application Integration: Combination
Statistical Programming and Linear Regression
作者介紹
Steven F. Lott has been programming since the 70s, when computers were large, expensive, and rare. As a contract software developer and architect, he has worked on hundreds of projects, from very small to very large. He's been using Python to solve business problems for almost 20 years.
He's currently leveraging Python to implement cloud management tools. His other titles with Packt Publishing include Python Essentials, Mastering Object-Oriented Python, Functional Python Programming, and Python for Secret Agents.
Steven is currently a technomad who lives in various places on the east coast of the U.S.