Book description
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a professional programmer or someone who needs this language to solve problems in a particular field.
Carefully curated by recognized experts in Python, this new edition focuses on version 3.10, bringing this seminal work on the Python language fully up to date on five version releases, including preview coverage of upcoming 3.11 features.
This handy guide will help you:
- Learn how Python represents data and program as objects
- Understand the value and uses of type annotations
- Examine which language features appeared in which recent versions
- Discover how to use modern Python idiomatically
- Learn ways to structure Python projects appropriately
- Understand how to debug Python code
Publisher resources
Table of contents
- Preface
- 1. Introduction to Python
- 2. The Python Interpreter
- 3. The Python Language
- 4. Object-Oriented Python
- 5. Type Annotations
- 6. Exceptions
- 7. Modules and Packages
- 8. Core Built-ins and Standard Library Modules
- 9. Strings and Things
- 10. Regular Expressions
-
11. File and Text Operations
- The io Module
- The tempfile Module
- Auxiliary Modules for File I/O
- In-Memory Files: io.StringIO and io.BytesIO
- Archived and Compressed Files
- The os Module
- The errno Module
- The pathlib Module
- The stat Module
- The filecmp Module
- The fnmatch Module
- The glob Module
- The shutil Module
- Text Input and Output
- Richer-Text I/O
- Internationalization
- 12. Persistence and Databases
- 13. Time Operations
- 14. Customizing Execution
- 15. Concurrency: Threads and Processes
- 16. Numeric Processing
- 17. Testing, Debugging, and Optimizing
- 18. Networking Basics
- 19. Client-Side Network Protocol Modules
- 20. Serving HTTP
- 21. Email, MIME, and Other Network Encodings
- 22. Structured Text: HTML
- 23. Structured Text: XML
- 24. Packaging Programs and Extensions
- 25. Extending and Embedding Classic Python
- 26. v3.7 to v3.n Migration
- Appendix. New Features and Changes in Python 3.7 Through 3.11
- Index
- About the Authors
Product information
- Title: Python in a Nutshell, 4th Edition
- Author(s):
- Release date: January 2023
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098113551
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
Learning Python, 5th Edition
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on …
book
Python for Programmers
The professional programmer’s Deitel® guide to Python® with introductory artificial intelligence case studies Written for programmers …
book
Think Python, 3rd Edition
Python is an excellent way to get started in programming, and this clear, concise guide walks …