7 Must Read Python Books
I started learning Python just two years ago. Coming from a C++ and Java background, it was easy to pick up the basic language features, but I wanted to learn more.
What I did was order all the Python books that had good ratings on Amazon and I read them cover to cover. You can see the full list of my reviews under Book Reviews.
For this post I have identified 7 Python books which were truly excellent. I divided the books in three categories: Python The Language, Python Web Programming, and Python Data Science.
Python – The Language
1) Fluent Python – Luciano Ramalho
Luciano Ramalho is probably the most enthusiastic Pythonista author. He has a casual writing style which stays interesting and his enthusiasm is contagious. The book is about 600 pages and covers details of the CPython implementation in depth. He provides a lot of high level explanations as well. There’s tons of extra links and information for learning any language feature in Python.
2) Python Cookbook – David Beazley, Brian Jones
If you have been around the Python community awhile, you know the name David Beazley. His book is all about recipes and the idiomatic way to write Python. In the Zen of Python it says: “There should be one– and preferably only one –obvious way to do it.” Beazley shows you the way and the recipes range from basic language features up to advanced meta-programming, co-routines, and generators. The book specifically covers Python 3, so do not be worried about its 2013 publication date.
3) Effective Python – Brett Slatkin
Slatkin worked at Google for a number of years where he perfected his knowledge of the Python programming language. The book is written in the Scott Myers style which means that advice is broken into specific tips to make your Python programs better. The book has beautiful coloring and pages, making it look like the Python IDLE. Despite being less than 300 pages, this book packs tons of information into its contents and the writing was excellent.
Python – Web Programming
4) Flask Web Development – Miguel Grinberg
Miguel Grinberg wrote the first, and the best tutorial on Flask. Grinberg also wrote an amazing online Flask tutorial and keeps a regularly updated blog on Flask. His book elegantly guides you through setting up a website and how to deploy it. I used his tutorial to build my first website in Flask and found his book incredibly valuable.
5) Two Scoops Of Django – Daniel Greenfeld, Audrey Greenfeld
Daniel and Audrey are a couple who specializes in Django web programming. Their book is a complete list of best practices covering Django 1.8. An ice cream store analogy is used throughout the book to describe concepts. This surprisingly quirky concept made the book a joy to read and I gained a much better understanding of web programming by reading this book.
Python – Data Science
6) Python Machine Learning – Sebastian Raschka
Sebastian Raschka created an amazing machine learning tutorial which combines theory with practice. The book explains machine learning from a theoretical perspective and has tons of coded examples to show how you would actually use the machine learning technique. It can be read by a beginner or advanced programmer.
How accurate is my list of must read Python books? Is there another book I should have included? Leave me a comment below!