Best Book of Python for beginners ?

Vidit Varshney
8 min readApr 28, 2019

Just about every year is a good year to be investing in Python learning, whether you are a beginner or an expert. Employment opportunities are opening for Python developers in fields beyond traditional web development.

An IBM blog post reports that Python is now the dominant language in many data science and machine learning careers. We charted data from DataScienceCentral to see how well Python is doing in this new field. Here is the result.

As you can see, it seems to be doing pretty well.

Where to Find Python Books for Beginners and Experts

While there are many Python courses and tutorials online, learning from a book is still one of the best ways to greatly improve your Python skills.

To find books, here are some ideas:

  • Try the local library: They often have programming books that very few people borrow!
  • Amazon, eBay: You can score many used programming books on eBay for a bargain
  • Local bookstores: The potential for finding technical books is there, but they won’t match the variety of online stores

Below I’ll give you my selections for the best Python books by a few categories. I will cover these and other great Python books more in depth later.

Best Paid Book

Python Cookbook, Third edition by David Beazley and Brian K. Jones — Price $32.62

What makes it the best: This hefty, comprehensive, guide to writing production-grade Python code covers all your bases. If you have to get just one book, make it this one.

Best Free Book

How To Think Like A Computer Scientist: Learning With Python, by Allen Downey, Jeff Elkner and Chris Meyers. The book is available under a free GNU Free Documentation License. Paperback versions are also available if you want a physical copy.

What makes it the best: This free book teaches you Python in a computer science context. It takes a formal approach but is geared at the beginner programmer.

Best Beginner Book

Head First Python by Paul Barry — Price $18.26

What makes it the best: This book is highly engaging for the beginner. It puts illustrations and learning aids at the center of learning to help you code Python. If you’ve given up learning Python half-way through a tough book, this is the solution to finally go all the way.

The Best Python Book Recommendations by Category Paid Books

Out of the books available on Amazon and other booksellers, we’ve selected these recommendations on the best of the best.

We’ve included links to these books, all available on Amazon or various other online stores.

Price: $32.62

Amazon Stars: 4.6/5

GoodReads Score: 4.45/5

The Python Cookbook is geared at professional Python programmers. It covers, in one comprehensive volume, tutorials on the most common programming tasks. Code examples in the book show you how things are done in idiomatic Python 3 code. The book explains why and how the code works, which is very helpful. Inside, you will find guides on topics like data encoding, data structures, algorithms, meta-programming and concurrency.

Price: $18.26

Amazon Stars: 4.3/5

GoodReads Score: 3.7/5

The Head First book series has gained a reputation for beginner-friendly programming books that are nonetheless definitive. Learning Python from this book will take you from the basics to an intermediate level of knowledge. The multitude of coding exercises covers areas like working with dictionaries and sets. In addition, more advanced techniques like threading and building web apps are also covered.

Price: $29.99

Amazon Stars: 3.7/5

GoodReads Score: 3.9/5

Zed Shaw’s Learn Python The Hard Way has helped thousands of people learn to code using Python. The book is notable for taking a hands-on approach to the learning process. This means that instead of copy and pasting the code examples, you get to type all the code yourself. The book is also accompanied by video lessons from Zed Shaw to teach you how to code. If you want an intellectually challenging Python intro, go with this!

Free Python Books

A good number of Python book authors have open sourced their text books for others to learn from. You will therefore find books that range from college texts to beginner tutorials on various authors’ websites, ready for you to learn from.

Here are 3 top recommendations of free books for learning Python.

A Byte Of Python takes a light-hearted approach to the Python language. The book’s low learning curve and project-based code examples help the beginner code Python programs. The book will walk you through the development of code for solving practical problems such as backing up files. Through the process, the author walks you through program refinements that help expand your knowledge.

This book covers the field of natural language processing, which has to do with the understanding and manipulation of data about spoken languages such as English, Spanish, Hindi, and others. This is a field with growing applications. Computers and natural language assistants such as Siri and Google Now understand how to interpret natural language commands. Using Python, the authors walk you through programming natural language applications from the very fundamentals. The book assumes no prior experience with Python.

If you want to learn not just programming techniques, but get an introduction to computer science, this book will help you. How To Think Like A Computer Scientist takes a more formal approach to topics like data structures. It explains the underlying theory behind common data structures as well as abstract data types such as stacks and queues. In addition, the book shows you how to implement all the computer science topics you learn. By the time you are finished with the book, you will have a good grounding in the theory and application of introductory computer science.

Beginner Books

Beginners to Python, and programming in general, have the most questions when it comes to selecting a book. Books that start off too difficult, while exciting for a more experienced programmer, will often discourage the beginner from learning programming.

You therefore want to select a book that walks you through the basics in an easy-to-understand way. A beginner book should clearly explain all code examples and the steps you have to take to accomplish the exercises.

Here are three of the best Python books for complete beginners:

Price: $18.26

Amazon Stars: 4.3/5

GoodReads Score: 3.7/5

Head First Python stands out among Python books for being approachable and easy to make progress with. The witty remarks and illustrations address the exact problems you encounter as a beginning Python programmer. Hands-on coding exercises working with topics like databases and HTML make this a highly practical book. In a few weeks, or even days, you can make rapid gains in Python programming knowledge.

Price: $27.16

Amazon Stars: 4.5/5

GoodReads Score: 4.25/5

Python Crash Course goes beyond the basics to immersing you into fully-functioning software projects. You will code projects involving Django, the highly popular Python web framework. Other projects like Alien Invasion will show you the fun side of making games with Python. Besides the fun and games, the book will introduce you to fundamentals of the Python programming language. You will end up as a very accomplished beginner when you finish this highly popular crash course.

Price: $19.99

Amazon Stars: 4.5/5

GoodReads Score: 3.97/5

This text book will come in handy if you are a student and need help for a course, or just want an academic introduction to Python. The book is aimed at entry-level computer science college students. As such, you will find an academic treatment of program design, computer science theory and the fundamentals of computing. The book will also teach you how computers work, hardware basics, data structures, and object oriented programming.

Book Recommendations for Advanced Python Programmers

Advanced developers need to take care to internalize best practices. In addition, advanced topics such as neural networks and computer vision offer challenges that can expand your skillset. Here are the top books you will want to check out.

Price: $18.27

Amazon Stars: 4.6/5

GoodReads Score: 4.4/5

Rather than give a merely theoretical approach to computing algorithms, Grokking Algorithms makes the topic highly practical. It will show you how to write your own spell checker programs using graph algorithms, as well as apply algorithms to data compression problems. The techniques you learn cover major algorithm classes such as sorting and searching. The highly engaging writing style makes the topics easier to grasp and apply in your everyday coding.

Price: $24.18

Amazon Stars: 4.3/5

GoodReads Score: 4.38/5

This book will give you an applied introduction to the vastly growing field of machine learning. You will learn to use the scikit-learn library to solve machine learning problems. You will learn to apply supervised learning algorithms as well as unsupervised learning algorithms. Code examples cover topics like k-Means Clustering and Naive Bayes Classifiers.

Price: $36.85

Amazon Stars: 4.6/5

GoodReads Score: 4.67/5

Python favors a simple, “Pythonic” way of accomplishing things. This book shows you how to write idiomatic Python code that follows that Pythonic way. It will be useful for advanced programmers to help you learn the best techniques you should be using. Applying lessons from the book will result in clearer, shorter, and faster code for all the applications you are already developing today. This is a highly recommended text for any experienced developer trying to achieve the widely rumored Zen of Python.

Originally published at http://quora.com.

--

--

Vidit Varshney

Software Developer| Web Developer | VUI Developer | Python |JavaScript | OSS| Helping_Others