Jump to ratings and reviews
Rate this book

Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More

Rate this book
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!

225 pages, Kindle Edition

Published December 31, 2018

160 people are currently reading
254 people want to read

About the author

Julien Danjou

5 books14 followers
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.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
26 (32%)
4 stars
39 (48%)
3 stars
11 (13%)
2 stars
4 (5%)
1 star
0 (0%)
Displaying 1 - 9 of 9 reviews
Profile Image for Joshua.
87 reviews15 followers
April 18, 2014
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.
57 reviews1 follower
May 18, 2014
A very current (2014) treatment of Python covering a range of useful topics.
Profile Image for 박은정 Park.
Author 5 books43 followers
April 15, 2017
이런 류의 중고급 기술을 정리한 책들은 정말 귀중하다.

다만 아쉬운 점이 몇 가지 있다:
1. 일반적인 best practice라기보다는 자사 철학을 주장할 때는 조금 불편했다. 그 때도 완전히 말이 안되는 말을 하는 것은 아니었지만.
2. ctypes 등 표준 라이브러리 좀 더 다뤘으면 더 좋았을 듯.
Profile Image for Tony Poerio.
212 reviews13 followers
December 16, 2016
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.
194 reviews14 followers
May 3, 2016
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.
Profile Image for Sebastian Godoy.
41 reviews3 followers
December 20, 2021
Great collection of good practices for not so easy to solve topics in python, very recommended to improve how you write code with python
Displaying 1 - 9 of 9 reviews

Can't find what you're looking for?

Get help and learn more about the design.