Book description
A Fully Revised Edition Featuring New Material on Coroutines, Debugging, Testing, Parsing, String Formatting, and More
Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3’s features and idioms. Programming in Python 3, Second Edition, brings together all the knowledge you need to write any program, use any standard or third-party Python 3 library, and create new library modules of your own.
Summerfield draws on his many years of Python experience to share deep insights into Python 3 development you won’t find anywhere else. He begins by illuminating Python’s “beautiful heart”: the eight key elements of Python you need to write robust, high-performance programs. Building on these core elements, he introduces new topics designed to strengthen your practical expertise–one concept and hands-on example at a time. Coverage includes
Developing in Python using procedural, objectoriented, and functional programming paradigms
Creating custom packages and modules
Writing and reading binary, text, and XML files, including optional compression, random access, and text and XML parsing
Leveraging advanced data types, collections, control structures, and functions
Spreading program workloads across multiple processes and threads
Programming SQL databases and key—value DBM files
Debugging techniques–and using Test Driven Development to avoid bugs in the first place
Utilizing Python’s regular expression mini-language and module
Parsing techniques, including how to use the third-party PyParsing and PLY modules
Building usable, efficient, GUI-based applications
Advanced programming techniques, including generators, function and class decorators, context managers, descriptors, abstract base classes, metaclasses, coroutines, and more
Programming in Python 3, Second Edition, serves as both tutorial and language reference. It assumes some prior programming experience, and it is accompanied by extensive downloadable example code–all of it tested with Python 3 on Windows, Linux, and Mac OS X.
Table of contents
- Title Page
- Copyright Page
- Contents at a Glance
- Contents
- Praise for Programming in Python 3
- List of Tables
- Introduction
- 1. Rapid Introduction to Procedural Programming
- 2. Data Types
- 3. Collection Data Types
- 4. Control Structures and Functions
- 5. Modules
- 6. Object-Oriented Programming
- 7. File Handling
- 8. Advanced Programming Techniques
- 9. Debugging, Testing, and Profiling
- 10. Processes and Threading
- 11. Networking
- 12. Database Programming
- 13. Regular Expressions
- 14. Introduction to Parsing
- 15. Introduction to GUI Programming
- Epilogue
- Selected Bibliography
- Index
- About the Author
Product information
- Title: Programming in Python 3: A Complete Introduction to the Python Language, Second Edition
- Author(s):
- Release date: November 2009
- Publisher(s): Addison-Wesley Professional
- ISBN: None
You might also like
book
Programming in Python 3: A Complete Introduction to the Python Language
Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, …
video
Python Programming Language
6+ Hours of Video Instruction Python Programming Language LiveLessons provides developers with a guided tour of …
book
Python for Programmers
The professional programmer’s Deitel® guide to Python® with introductory artificial intelligence case studies Written for programmers …
video
Introduction to Python: Learn How to Program Today with Python
7+ Hours of Video Instruction Overview Python is a great, beginner-friendly programming language because it was …