Preparing for Java and Spring Boot Interview?

Join my Newsletter, its FREE

Top 10 Free Python Programming Books - Download PDF or Read Online

Every Programmer loves free eBook and free courses, even more, if it comes from renowned technical book publishers like Oreilly and Manning. In the last article, I have shared some of the best free Java programming books, and today I am going to share some of the equally best free Python Programming books. These books are not illegal copies that are uploaded into the internet, but they are legal books, made free by their authors and publishers, much like free Udemy courses, which their instructor made free for educational and promotional reasons. Though these are not full-fledged books but concise eBooks, they are very informative and comprehensive enough to learn things like Data Science and Functional programming in Python.

The list contains different types of free Python books; some of them, like A Whirlwind Tour of Python, is useful for beginners and intermediate Python developers, and others like 20 Python Libraries You Aren't Using are very useful for experienced Python programmers.

The list also contains some real-world, practical advice on what not to do while working with Python in the form of "How to Make Mistakes in Python" free eBook. This is the one I liked most because we all make mistakes and if we continue to learn from our own mistakes we won't learn much in our whole life, but if we start learning from other's mistakes, then we can quickly learn a lot of things.

Also learning from the own mistake is very costly, so you should always try to learn from other's mistakes to avoid the same situation in your project and career. This free eBook is full of such stories. Btw, if you can spend few bucks (like $10) then I suggest you check out The Complete Python Bootcamp: Go from zero to hero in Python 3 course on Udemy.

It's one of the best, most comprehensive courses to learn Python, and would you believe it, I bought in just $10 on the last Udemy sale. Considering the quality, of course, it's definitely a $500 course and in $10, I literally feel that I got it for FREE.

Free Python Programming Books

So, without wasting any more time, here is my collection of free Python books which you will love. These books are not old and outdated, they are quite the latest and cover the latest and greatest information. They are the best quality material that is made free by their author and publisher. You can also download each of these books in PDF, MOBI, or EPUB format after signing O'reilly Newsletter.

1. Python for Everybody

Author  Dr. Chuck
The goal of this free Python Programming book is to provide an Informatics-oriented introduction to programming. The primary difference between a computer science approach and the Informatics approach taken in this book is a greater focus on using Python to solve data analysis problems common in the world of Informatics. 

The Python 2 version of the book is still available. You can download this free Python book in PDF, EPUB, and HTML format.

There is also a free course with the same title - Python for Everybody in Coursera which you can take along this book to learn better. The course is free-to-audit but you need to pay fees if you also need a certificate to show on your LinkedIn profile or resume.

free Python books

2. Python® Notes for Professionals book

Author: StackOverFlow answer
Read Online:
Description: "The Python® Notes for Professionals" book is a valuable resource compiled from the wealth of knowledge available on Stack Overflow Documentation. The content within this book is a collaborative effort contributed by the community of experts and enthusiasts at Stack Overflow, showcasing the collective wisdom and experience of those who actively engage with Python programming. 

The book is a testament to the generosity and expertise of the diverse individuals who have shared their insights and solutions on Stack Overflow. Released under the Creative Commons BY-SA license, the text content encourages the sharing and adaptation of Python knowledge.

This book serves as a collaborative effort to empower Python developers with a comprehensive and community-driven guide, reflecting the ethos of knowledge-sharing within the programming community..

You can also combine this book with the Introduction To Python Programming - a free Python course from Udemy which is trusted by more than 1350,000 students already for better learning.

Inside this book, you’ll find complete recipes for more than a dozen topics, covering the core Python language as well as tasks common to a wide variety of application domains. Each recipe contains code examples you can use in your projects right away, along with a discussion about how and why the solution works. The books are free for reading online, but if you want an eBook, you can buy it here.

3. Hadoop with Python

Author: Zachary Radtka and Donald Miner
Hadoop is mostly written in Java, but that doesn't exclude the use of other programming languages with this distributed storage and processing framework, particularly Python.  Zachary Radtka and Donald Miner, author of the O'Reilly book MapReduce Design Patterns, takes you through the basic concepts behind Hadoop, MapReduce, Pig, and Spark. He is a, which is based on his experiences as a MapReduce developer.

best Python books PDF download

In this short and concise free Python ebook, you'll learn how to use Python with the Hadoop Distributed File System (HDFS), MapReduce, Spark, the Apache Pig platform and Pig Latin script, and the Apache Spark cluster computing framework.

4. How to Make Mistakes in Python

Author: Mike Pirnat
Even the best programmers make mistakes, and experienced programmer Mike Pirnat has made his share during 15+ years with Python. Some have been simple and silly; others were embarrassing and downright costly. In this free Python eBook, he dissects some of his most memorable blunders, peeling them back layer-by-layer to reveal just what went wrong.

Python books for Free

For example, you could install every third-party package that looks interesting and ends up with a tangled mess where nothing works right. Or you could write a test that manages to break the build. Mike’s done both and so much more.

By avoiding these missteps, you’ll be free to make truly significant mistakes—the ones that advance the art of programming. It's also a good companion for another free Python course from Udemy, Python for Absolute Beginners, which I have recommended to many of my readers for learning Python for free.

5. Functional Programming in Python

Author: David Mertz
Python is not a functional programming language, but it is a multi-paradigm language that makes functional programming easy to perform, and easy to mix with other programming styles. In this free Python book, David Mertz, author of Text Processing in Python, examines the functional aspects of the language and points out which options work well and which ones you should generally decline.

free Python EBooks and PDF

David Mertz describes ways to avoid Python’s imperative-style flow control, the nuances of callable functions, how to work lazily with iterators, and the use of higher-order functions. You will also learn several third-party Python libraries useful for functional programming in this free Python functional programming book.

6. Python in Education

Author: Nicholas Tollervey
You’ve probably heard about the computing revolution in schools, and perhaps you’ve even heard of Raspberry Pi. The Python programming language is at the center of these fundamental changes in computing education. Whether you’re a programmer, teacher, student, or parent, this reports arms you with the facts and information you need to understand where Python sits within this context.

great Python books for Programmers

In this free Python eBook, Author Nicholas Tollervey, author of Programming with MicroPython: Embedded Programming with Microcontrollers and Python book, takes you through the features that make Python appropriate for education and explains how an active Python community supports educational outreach. You’ll also learn how Raspberry Pi is inspiring a new generation of programmers with Python’s help.

7. Picking a Python Version: A Manifesto

Author: David Mertz
This free Python eBook guides you through the implicit decision tree of choosing what Python version, implementation, and distribution are best suited for you. It weighs and discusses the merits of each of these choices, and briefly discusses the reasons each option exists

good python book free

8. 20 Python Libraries You Aren't Using (But Should)

Author: Caleb Hattingh
This free Python programming book will help you to explore some of the lesser-known Python libraries and tools, including third-party modules and several extremely useful tools in the standard library that deserve more attention.

Author Caleb Hattingh diligently spent time finding and testing hidden gems in the huge crowd of Python open-source libraries that fit several criteria, like easy to install and use, cross-platform, applicable to more than one domain, and not yet popular but likely to become so soon.

You will learn about little-known standard library modules: collections, contextlib, concurrent. futures, logging and sched in Python.

good book to learn Python libraries

9. A Whirlwind Tour of Python

Author: DescriptoinJake VanderPlas
Description: This free Python eBook will teach you the syntax, semantics, and patterns so that you can take advantage of Python's open Data Science stack, like NumPy, Pandas, Matplotlib, Scikit, etc. In this short book, Jake VanderPlas, author of Python Data Science Handbook explains Python’s essential syntax and semantics, built-in data types and structures, function definitions, control flow statements, and more, using Python 3 syntax.

books to learn Python from start pdf

In short, these free Python books provide a brief yet comprehensive introduction to Python for engineers, researchers, and data scientists who are already familiar with another programming language, like Java, C++, or Ruby.

10. Test-Driven Development with Python

Author: by Harry Percival
Read Online:
Test-Driven Development with Python focuses on web development, with some coverage of JavaScript. This free Python book uses a concrete example and explains how to develop a website, from scratch to teach the TDD methodology.

It also explains how it applies to web programming, from the basics of database integration and javascript, going via browser automation tools like Selenium, to advanced (and trendy) topics like NoSQL, web sockets and Async programming.

This book is only free for reading online, you cannot download PDF or EPUB version, if you need, then you can buy the eBook from Amazon.

free Python books pdf download

11. Python Web Frameworks

Author Carlos De La Guardia
Even though JavaScript tools dominate today’s web development landscape, Python provides aspiring web developers with a wide variety of useful web frameworks, written in a powerful, easy-to-learn language. This free Python eBook surveys 30 Python web frameworks that have more than 1,000 monthly downloads and provides a deeper look into six of the most widely used.

free Python web books

Carlos De La Guardia, the author of Web Development with Grok, introduces Python frameworks like Appier, Cyclone, and Fantastico to Grok, Muffin, and Twisted and Dive into details on the top six Python frameworks, like Django, Flask, Tornado, Bottle, Pyramid, and CherryPy.

That's all about some of the best free Python Programming eBooks. You can download these books in PDF, MOBI, or EPUB format for online and offline reading. Though these books are short and concise, they still contain a wealth of information for Python developers and anyone who wishes to learn more about Python. 

If you are looking for a more comprehensive resource then you can also combine these books with The Python Bible™ | Everything You Need to Program in Python course on Udemy.

Other Free Programming Books and Courses you may like

Thanks for reading these articles. If you like these free eBooks, then please share it with your friends and colleagues. If you have any questions, feedback, or any other free Python book which you want to add into this list then just drop a comment.

P. S. - If you are looking for some free online courses to learn Python from scratch, there here is a list of 10+ free Python courses to learn Programming. It's a good idea to combine some courses from that list with these books to learn Python quickly and better. 


  1. Replies
    1. you have to use the trinket edition at

    2. you have to use the trinket edition which is in the links

    3. but we cannot download book its not free

    4. I want python programming technical for gtu please provide download link

  2. O'reilly books are not free. They can be read only with a paid subscription. Without such, there's a ten-day window where they can be read online only, in the browser. No epub/pdf/whatsoever.

    This sucks, since I'd like to read offline.

    You should update this website accordingly.

    1. Noted, looks like O'Reilly books are gone now, I'll update the article with new titles, thanks for your comments.

    2. $50 per month for reading books online? That is $600 per year and could by 20 books by that amount of money. Ridiculously greedy!

  3. Many of the Python books are not free that you have listed. A good python book missing, and is

    1. Is it? I haven't checked them in a while they were definitely free when I wrote this article and thanks for, I have read that book and its simply awesome, there is also an Udemy course with same title - Automate the Boring stuff with Python, its not free but its really great companion for this book.

  4. I think you might like this book – "It's Python: From Beginner to Advanced" by Rahul Mula.

    Start reading it for free:

    1. you mean the Kindle version of this book is free or there is also an eBook?

  5. Very nice looking very interesting

  6. my best dream is to be ethical hacker❤ so i need your advise 🙌

    1. You can start with these free Ethical Hacking courses, they are completely free, all you need to devote is your time and attention.

  7. Firmbee just released a Python e-book for beginners.

    There are over 60 pages of practical Python knowledge followed by ready to implement examples. You’ll not only get to discover the most important Python topics, but with each lesson, you’ll learn tangible coding solutions ready to implement in real life.

    Here's the link ➡️


Feel free to comment, ask questions if you have any doubt.