Quality Python articles (original) (raw)

Searching for the best legally free Python books can be overwhelming with so many broken links and outdated resources. This curated list provides over 80 high-quality, legal, and free Python programming books covering everything from absolute beginner basics to advanced machine learning and internals.

Book Title Level Primary Focus Format
Think Python 2e Beginner Computer Science Fundamentals PDF/HTML
Automate the Boring Stuff Beginner Practical Task Automation HTML
A Byte of Python Beginner Language Basics HTML/PDF
Intermediate Python Intermediate Advanced Features & Idioms PDF/HTML
Test-Driven Development Advanced Web Dev & Software Quality HTML

Why Trust This List?

Unlike many “100+ free books” lists that include illegal pirated copies or outdated Python 2 materials, this collection is strictly: 1. Legal: Authorized by authors or publishers for free distribution. 2. Modern: Focused on Python 3. 3. Vetted: Skimmed for quality and educational value.


Table of Contents


INTRODUCTORY MATERIALS

Think Python

Python Practice Book

Practical Python Programming

Learn Python Programming - Second Edition

Dive Into Python 3

Python For Everybody

Python 3 Basics Tutorial

Non-Programmer’s Tutorial for Python 3

The Coder’s Apprentice

A Practical Introduction to Python Programming

A Byte of Python

Intermediate Python

Boxes: Your Second Python Book

Learn Python, Break Python

Algorithmic Problem Solving with Python

The Hitchhiker’s Guide to Python

Slither Into Python

Python For You and Me

Python for Astronomers

OBI Intermediate Python

A Python Book: Beginning Python, Advanced Python, and Python Exercises

DigitalOcean eBook: How To Code in Python

CONTINUATION

Beyond the Basic Stuff with Python

Python 201 – (Slightly) Advanced Python Topics

Python re(gex)?

PROJECTS-BASED

Automate the Boring Stuff with Python

The Recursive Book Of Recursion

The Big Book of Small Python Projects

Python for Scientists and Engineers

Python For Fun

Tiny Python Projects

CORRECT WAY

Practices of the Python Pro

INTERNALS

Inside The Python Virtual Machine

SOFTWARE ENGINEERING

Clean Architectures in Python

The Little Book of Python Anti-Patterns

Python 3 Patterns, Recipes and Idioms

Design Patterns in Python

Python Design Patterns

Cosmic Python

TDD

Test-Driven Web Development with Python

OOP

Building Skills in Object-Oriented Design

Object Oriented Programming with Python

FUNCTIONAL PROGRAMMING

Functional Programming in Python

TEXT PROCESSING

Text Processing in Python

CRYPTOGRAPHY

Cracking Codes with Python

WEB

Explore Flask

Django Girls Intro

Django Girls Beyond The Basics

Django RESTful Web Services

Build websites with Web2Py

The Flask Mega-Tutorial

Web App with Redis And Streaming

Create a Simple Flask Application with Cloud9, Heroku and MongoDB

GAMES

Invent Your Own Computer Games with Python

Make Games with Graphics

Make Games With Python

Program Arcade Games With Python And Pygame

Becoming PyGamer

DATA STRUCTURES AND ALGORITHMS

Open Data Structures

Problem Solving with Algorithms and Data Structures using Python

Think Complexity

Think Data Structures

Annotated Algorithms (including numerical) in Python With Applications in Physics, Biology And Finance

COMPUTER VISION

Programming Computer Vision with Python

DATA SCIENCE

Geographic Thinking for Data Scientists

An Introduction to Statistical Learning

Python for Data Analysis

Elements of Data Science

Effective Pandas

Think Stats

Probabilistic Programming & Bayesian Methods for Hackers

Think Bayes

Digital Signal Processing in Python (Think DSP)

A Programmer’s Guide to Data Mining

Python Data Science Handbook

VISUALISATIONS-FOCUSED

Python & OpenGL for Scientific Visualization

DISTRIBUTED SYSTEMS

Hadoop With Python

MACHINE LEARNING & DEEP LEARNING

Python Machine Learning By Example

Neural Networks and Deep Learning

Deep Learning with Python

NATURAL LANGUAGE PROCESSING

Hands-On Natural Language Processing with Python

Natural Language Processing with Python

PORTING TO PYTHON3

Supporting Python3

MISCELLANEOUS

Python in Hydrology

Bioinformatics in Python

Modeling and Simulation in Python

Modelling Creativity

Introduction to Scientific Computing in Python


Frequently Asked Questions (FAQ)

Yes. Every book in this list is either released under a Creative Commons license, made free by the author on their website, or offered as a legal “free tier” by publishers like No Starch Press or Manning.

Which book should I start with as a complete beginner?

We recommend Think Python for a computer science approach, or Automate the Boring Stuff if you want to see immediate practical results in your daily work.

Do I need to know math to learn Python?

Most Python tasks (web dev, automation, scripting) require only basic logic. Specialized fields like Machine Learning or Data Science do require a grasp of statistics and linear algebra, but many of the books listed here (like Think Bayes) teach the math through code.

Is Python 2 still relevant?

No. All resources in this list focus on Python 3. Python 2 reached its end-of-life in 2020 and should no longer be used for new projects or learning.


Found a broken link? Please contact arj.python at gmail dot com to help keep this resource updated for the community.

Suggested Posts

January 19, 2020

Free Python Courses List

Here is a list of Python free courses that i maintain An Introduction to Interactive Programming in ...

November 9, 2021

Python Engineering Articles

This page lists the very best Python engineering articles of the internet, hand-picked to give hours...