Programming Books

47 Excellent Free Books to Learn Python

41. Tiny Python 3.6 Notebook by Matt Harrison

Tiny Python 3.6 NotebookThis is not an introduction to Python. Rather it is a notebook containing curated examples for Python 3 as well as the new features found in Python 3.6.

It is designed to accompany technical corporate training offered by the author or aid those who want a quick refresher to the Python syntax.

Read the book

42. 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

43. 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

44. 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

45. 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

46. 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

47. 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 – Learn Python, Break Python and more books
Page 7 – Modeling Creativity: Case Studies in Python and more books
Page 8 – Python in Hydrology and more books
Page 9 – Tiny Python 3.6 Notebook and more books

All books in this series:

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

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

Inline Feedbacks
View all comments