An indispensable collection of practical tips and real-world advice for tackling common Python problems and taking your code to the next level. Features interviews with high-profile Python developers who share their tips, tricks, best practices, and real-world advice gleaned from years of experience.Sharpen your Python skills as you dive deep into the Python programming language with Serious Python. You'll cover a range of advanced topics like multithreading and memorization, get advice from experts on things like designing APIs and dealing with databases, and learn Python internals to help you gain a deeper understanding of the language itself. Written for developers and experienced programmers, Serious Python brings together over 15 years of Python experience to teach you how to avoid common mistakes, write code more efficiently, and build better programs in less time.As you make your way through the book's extensive tutorials, you'll learn how to start a project and tackle topics like versioning, layouts, coding style, and automated checks. You'll learn how to package your software for distribution, optimize performance, use the right data structures, define functions efficiently, pick the right libraries, build future-proof programs, and optimize your programs down to the bytecode. You'll also learn how Make and use effective decorators and methods, including abstract, static, and class methods- Employ Python for functional programming using generators, pure functions, and functional functions- Extend flake8 to work with the abstract syntax tree (AST) to introduce more sophisticated automatic checks into your programs- Apply dynamic performance analysis to identify bottlenecks in your code- Work with relational databases and effectively manage and stream data with PostgreSQLIf you've been looking for a way to take your Python skills from good to great, Serious Python will help you get there. Learn from the experts and get seriously good at Python with Serious Python!
A Free Software hacker since 1999. He wears multiple hats in the Free and Open Source community, among them: Debian developer, Freedesktop contributor, GNU Emacs committer, the awesome window manager creator, Project Technical Leader for OpenStack Telemetry and contributor to Python.
For the last few years, he has been hacking using Python a lot, especially when working on OpenStack, a cloud-computing platform. During that time, He had the chance to work with many fabulous Python hackers, and learned a lot from them and the surrounding community.
Helpful; in some ways it felt more like a collection of blog posts than a classical book, but as someone who writes Python quite a bit I still learned a lot, so the lack of overall flow was fine. Certainly not a beginner book; if you are new to Python you will probably be lost on page 3.
Lots of very practical tips and tricks for taking your Python programming to the next level. The section on the python AST and Hy was really mind opening. Basically Hy is a Lisp variation that you can use within Python projects, made possible by hacking the Python Abstract Syntax Tree (AST).
Generally the book is a quick read, but full of little things that the author learned by using Python on very large and complex projects. Worth a read because it'll open your eyes to what's possible with Python, in a succinct and elegant way.
Not life changing, but certainly very interesting. Easy 4/5.
A good book targeting people who are already comfortable with the language. It aims to give the lay of the land on a variety of topics: what's the current status, what's the history if relevant, what are the current libraries and best practices. I enjoyed the end of chapters interviews with an expert from the community about that chapter's topic.