There are so many books Open Source Python 3.x Programming Books Licensed Under Creative Commons License.

Here, I list some of these books that I find very interesting. In fact, I got the question “what can I do with Python?”. You can develop web applications, analyze data, automate stuff, … etc. The following open-source books guide you to this stuff.

Python for Everybody by Charles R. Severance, 2016.

This book introduces Python programming language for everybody even with no computer science background.

You can find the book at https://www.py4e.com/book

I am teaching from this book, and it is really easy to follow and it simplifies the explanation. Here are my courses: Python I – WDMM1402 and Python II – WDMM1405

Think Python 2nd Edition by Allen B. Downey, 2015.

This book provides an introduction to Python programming for beginners.

You can find the book at https://greenteapress.com/wp/think-python-2e/

Think Python 2e is a Free Book. It is available under the Creative Commons Attribution-NonCommercial 3.0 Unported License, which means that you are free to copy, distribute, and modify it, as long as you attribute the work and don’t use it for commercial purposes.

It is remarkable that there are so many other open-source books by the author published by Green Tea Press that can be found here

The pdf file of the book can be downloaded from thinkpython2

Automate the Boring Stuff with Python by Al Sweigart, 2015.

This book is very interesting because there is so many stuff that can be automated by Python code such as web scraping, playing with Excel sheets, pdf and word documents, images, and so many other things. This book answers the question in learners mind “What can I do with Python?”. This book is practical programming for total beginners, and free to read under a Creative Commons license.

You can find the book at https://automatetheboringstuff.com/

DigitalOcean eBook: How To Code in Python

DigitalOcean’s How To Code in Python 3 tutorial series is available for free as an open educational eBook in both EPUB and PDF formats. Having these tutorials together in an eBook format provides you with a resource that you can use on your favorite e-reader without maintaining a constant internet connection. This way, you can use the book to learn key concepts while offline, or as a reference guide while you are coding on your computer.

The book is available in these formats

How To Code in Python eBook in EPUB format

How To Code in Python eBook in PDF format

Python Data Science Handbook, 2016.

This book is written by Jake VanderPlas.

The book was written and tested with Python 3.5, though other Python versions (including Python 2.7) should work in nearly all cases.

The book introduces the core libraries essential for working with data in Python: particularly IPython, NumPy, Pandas, Matplotlib, Scikit-Learn, and related packages. Familiarity with Python as a language is assumed; if you need a quick introduction to the language itself, see the free companion project, A Whirlwind Tour of Python: it’s a fast-paced introduction to the Python language aimed at researchers and scientists.

This repository contains the entire Python Data Science Handbook, in the form of (free!) Jupyter notebooks.

The text content of the book is released under the CC-BY-NC-ND license. Read more at Creative Commons.

The book in HTML format is at https://jakevdp.github.io/PythonDataScienceHandbook/ and in pdf format here

Python Machine Learning Projects

Written by Lisa Tagliaferri, Michelle Morales, Ellie Birbeck, and

Alvin Wan, with editing by Brian Hogan and Mark Drake

This book will set you up with a Python programming environment if you don’t have one already, then provide you with a conceptual understanding of machine learning in the chapter “An Introduction to Machine Learning.” What follows next are three Python machine learning projects. They will help you create a machine learning classifier, build a neural network to recognize handwritten digits, and give you a background in deep reinforcement learning through building a bot for Atari.

The book can be download in the following formats

Machine Learning Projects: Python eBook in EPUB format

Machine Learning Projects: Python eBook in PDF format

Machine Learning Projects: Python eBook in Mobi format

Invent Your Own Computer Games with Python, 4th Edition, Al Sweigart, 2016.

This book teaches you how to program in the Python language. Each chapter gives you the complete source code for a new game. Games include Guess the Number, Hangman, Tic Tac Toe, and Reversi. This book also has an introduction to making games with 2D graphics using the Pygame framework. This book is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License

http://inventwithpython.com/invent4thed/

You can see the series from the invent with python site.

Making Games with Python & Pygame by Al Sweigart, 2012.

This book covers the Pygame library with the source code for 11 games. This book is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License. You can find the book at https://inventwithpython.com/pygame/

Dive Into Python 3 by Mark Pilgrim, 2009

Dive Into Python is a hands-on guide to the Python language. The book is freely licensed under the Creative Commons Attribution-Share-Alike license. You can download it as HTML or pdf .

You can find the book at https://www.diveinto.org/python3/