官网链接： O’Reilly Media
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages.
Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code.
- Explore Python’s major built-in object types such as numbers, lists, and dictionaries
- Create and process objects with Python statements, and learn Python’s general syntax model
- Use functions to avoid code redundancy and package code for reuse
- Organize statements, functions, and other tools into larger components with modules
- Dive into classes: Python’s object-oriented programming tool for structuring code
- Write large programs with Python’s exception-handling model and development tools
- Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing
About the Author
Mark Lutz is the author of Python’s foundational and best-selling texts, a former trainer with two decades of experience teaching Python to newcomers, and one of the people responsible for the prominence that Python enjoys today.
Mark is the author of the three O’Reilly books Learning Python, Programming Python, and Python Pocket Reference, all currently in fourth or fifth editions. He has been using and promoting Python since 1992, started writing Python books in 1995, and began teaching Python classes in 1997. As of mid-2018, Mark has:
- Taught 260 live and in-person Python classes to roughly 4,000 students, in a training career that spanned both continentsand decades
- Written 14 Python books that have sold over 625,000 units, span 11,000 published pages, cover Pythons 1.X through 3.X, and have been translated to at least a dozen languages
Together, Mark’s quarter century of Python efforts so far have helped to establish it as one of the most widely used programming languages in the world. Though no longer teaching formal classes today, he continues to advocate improvement in Python, open source, and the software field at large through his posts, programs, and books.
In addition, Mark has been a software professional for over three decades. He holds BS and MS degrees in computer science from the University of Wisconsin where he explored implementations of the Prolog language, and over his career has worked as a software developer on compilers, programming tools, scripting systems, and assorted client/server and business applications.
For more author background, see Mark’s Teaching Python and Supplemental Bio pages; his former training web site at learning-python.com/training; and his books and software site at learning-python.com.