Free Programming Books

46 Excellent Free Books to Learn Python

41. Building Skills in Object-Oriented Design by Steven F. Lott

Building Skills in Object-Oriented DesignBuilding Skills in Object-Oriented Design teaches how to move from object-orientated programming to object-oriented design through a series of design exercises. This 285-page book has 46 chapters that will help you build OO design skills through the creation of a moderately complex family of application programs. This is a step-by-step guide to OO design and implementation.

Build applications step-by-step with real-world sophistication. The code examples focus on the Python programming language. It uses casino table games (Roulette, Craps and Blackjack) as its context.

The purpose of this book is to build skills in object-oriented design prior to a project with fixed cost and deadline.

The book is licensed under a Creative Commons license.

Read the book


42. Think Stats: Exploratory Data Analysis in Python by Allen B. Downey

Think Stats

Think Stats is an introduction to Probability and Statistics for Python programmers. Most ideas are expressed using Python code.

Chapters examine:

  • Exploratory data analysis.
  • Distributions.
  • Probability mass functions.
  • Cumulative distribution functions.
  • Modeling distributions.
  • Probability density functions.
  • Relationships between variables.
  • Estimation.
  • Hypothesis testing.
  • Linear least squares.
  • Regression.
  • Time series analysis.
  • Survival analysis.
  • Analytic methods.

The book presents a case study using data from the National Institutes of Health and the National Survey of Family Growth and the Behavioral Risk Factor Surveillance System. Each chapter presents exercises to help develop a reader’s understanding.

Think Stats is published under the Creative Commons Attribution-NonCommercial 3.0 Unported License.

Read the book


43. The Art and Craft of Programming: Python Edition by John C. Lusth

The Art and Craft of Programming: Python Edition The Art and Craft of Programming: Python Edition is designed to be used as the primary textbook in a college-level first course in computing.

It takes a fairly traditional approach, emphasizing problem solving, design, and programming as the core skills of computer science. However, these ideas are illustrated using Python.

Although Python is used as the language, teaching Python is not the main point of this book. Rather, Python is used to illustrate fundamental principles of design and programming that apply in any language or computing environment. In some places, the author purposely avoids certain Python features and idioms that are not generally found in other languages. There are already many good books about Python on the market; this book is intended as an introduction to computing.

The author has confirmed the book is open source.

Read the book


44. Fundamentals of Python Programming by Richard L. Halterman

Fundamentals of Python Programming

This book offers a veritable feast of information. Chapters cover:

  • Values and Variables.
  • Expressions and Arithmetic.
  • Conditional Execution – Boolean expressions, the simple if statement, the if/else statement and more.
  • Iteration – including nested and infinite loops, with iteration examples.
  • Using Functions.
  • Writing Functions.
  • More on Functions.
  • Objects.
  • Lists.
  • Tuples, Dictionaries, and Sets.
  • Handling Exceptions.
  • Custom Types.
  • Class Design: Composition and Inheritance.
  • Algorithm Quality.
  • Representing Relationships with Graphs.

The book is published under an open-source compatible license.

Read the book


45. Python 3 Module of the Week by Doug Hellmann

Python 3 Module of the WeekPython Module of the Week (PyMOTW) was started as a way to build the habit of writing something on a regular basis. The focus of the series is building a set of example code for the modules in the Python standard library.

PyMOTW is a good source of documentation for Python modules.

PyMOTW includes a command line program, motw, to make it easier to access the examples while you are developing.

This work is made available under the terms of the Creative Commons Attribution-NonCommercial Share-alike 3.0 license.

Read the book


46. Python for you and me by Kushal Das

python for you and meThis book is designed for newcomers to the Python programming language.

Topics covered include:

  • Variables and Datatypes.
  • Operators and expressions.
  • Control flow.
  • Looping.
  • Data structures.
  • Strings.
  • Functions.
  • File handling.
  • Class.
  • Modules.
  • Collections module.
  • Virtual Python Environment builder.

It’s released under the GNU Free Documentation License v1.2 or later.

Read the book


Pages in this article:
Page 1 – Think Python and more books
Page 2 – Supporting Python 3 and more books
Page 3 – Invent Your Own Computer Games with Python and more books
Page 4 – Making Games with Python & Pygame and more books
Page 5 – Hacking Secret Ciphers with Python and more books
Page 6 – How to Make Mistakes in Python and more books
Page 7 – Text Processing in Python and more books
Page 8 – The Coder’s Apprentice and more books
Page 9 – Building Skills in Object-Oriented Design and more books


All books in this series:

Free Programming Books
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
CGeneral-purpose, procedural, portable, high-level language
PythonGeneral-purpose, structured, powerful language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
JavaScriptInterpreted, prototype-based, scripting language
PHPPHP has been at the helm of the web for many years
HTMLHyperText Markup Language
SQLAccess and manipulate data held in a relational database management system
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
AssemblyAs close to writing machine code without writing in pure hexadecimal
SwiftPowerful and intuitive general-purpose programming language
GroovyPowerful, optionally typed and dynamic language
GoCompiled, statically typed programming language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
RDe facto standard among statisticians and data analysts
COBOLCommon Business-Oriented Language
ScalaModern, object-functional, multi-paradigm, Java-based language
FortranThe first high-level language, using the first compiler
ScratchVisual programming language designed for 8-16 year-old children
LuaDesigned as an embeddable scripting language
LogoDialect of Lisp that features interactivity, modularity, extensibility
RustIdeal for systems, embedded, and other performance critical code
LispUnique features - excellent to study programming constructs
AdaALGOL-like programming language, extended from Pascal and other languages
HaskellStandardized, general-purpose, polymorphically, statically typed language
SchemeA general-purpose, functional language descended from Lisp and Algol
PrologA general purpose, declarative, logic programming language
ForthImperative stack-based programming language
ClojureDialect of the Lisp programming language
JuliaHigh-level, high-performance language for technical computing
AwkVersatile language designed for pattern scanning and processing language
CoffeeScriptTranscompiles into JavaScript inspired by Ruby, Python and Haskell
BASICBeginner’s All-purpose Symbolic Instruction Code
ErlangGeneral-purpose, concurrent, declarative, functional language
VimLPowerful scripting language of the Vim editor
OCamlThe main implementation of the Caml language
ECMAScriptBest known as the language embedded in web browsers
BashShell and command language; popular both as a shell and a scripting language
LaTeXProfessional document preparation system and document markup language
TeXMarkup and programming language - create professional quality typeset text
ArduinoInexpensive, flexible, open source microcontroller platform
TypeScriptStrict syntactical superset of JavaScript adding optional static typing
ElixirRelatively new functional language running on the Erlang virtual machine
F#Uses functional, imperative, and object-oriented programming methods
TclDynamic language based on concepts of Lisp, C, and Unix shells
FactorDynamic stack-based programming language
EiffelObject-oriented language designed by Bertrand Meyer
AgdaDependently typed functional language based on intuitionistic Type Theory
IconWide variety of features for processing and presenting symbolic data
XMLRules for defining semantic tags describing structure ad meaning
ValaObject-oriented language, syntactically similar to C#
Standard MLGeneral-purpose functional language characterized as "Lisp with types"
DGeneral-purpose systems programming language with a C-like syntax
DartClient-optimized language for fast apps on multiple platforms
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
KotlinMore modern version of Java
Objective-CObject-oriented language that adds Smalltalk-style messaging to C
PureScriptSmall strongly, statically typed language compiling to JavaScript
ClojureScriptCompiler for Clojure that targets JavaScript
VHDLHardware description language used in electronic design automation
JArray programming language based primarily on APL
LabVIEWDesigned to enable domain experts to build power systems quickly
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.