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 in a Nutshell, 3rd Edition
Useful in many roles, from design and prototyping to testing, deployment, and maintenance, Python is consistently …
book
Learning Python, 5th Edition
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on …
book
Head First Python, 2nd Edition
Want to learn the Python language without slogging your way through how-to manuals? With Head First …
book
Python Crash Course, 2nd Edition
This is the second edition of the best selling Python book in the world. Python Crash …