7 Must Read Python Books

I started learning Python just two years ago. Coming from a C++ and Java background, it was easy to pick up the basic language features, but I wanted to learn more.

What I did was order all the Python books that had good ratings on Amazon and I read them cover to cover. You can see the full list of my reviews under Book Reviews.

For this post I have identified 7 Python books which were truly excellent. I divided the books in three categories: Python The Language, Python Web Programming, and Python Data Science.

Python – The Language

1) Fluent Python – Luciano Ramalho

Fluent Python

Luciano Ramalho is probably the most enthusiastic Pythonista author. He has a casual writing style which stays interesting and his enthusiasm is contagious. The book is about 600 pages and covers details of the CPython implementation in depth. He provides a lot of high level explanations as well. There’s tons of extra links and information for learning any language feature in Python.

2) Python Cookbook – David Beazley, Brian Jones

Python Cookbook

If you have been around the Python community awhile, you know the name David Beazley. His book is all about recipes and the idiomatic way to write Python. In the Zen of Python it says: “There should be one– and preferably only one –obvious way to do it.” Beazley shows you the way and the recipes range from basic language features up to advanced meta-programming, co-routines, and generators. The book specifically covers Python 3, so do not be worried about its 2013 publication date.

3) Effective Python – Brett Slatkin

Effective Python

Slatkin worked at Google for a number of years where he perfected his knowledge of the Python programming language. The book is written in the Scott Myers style which means that advice is broken into specific tips to make your Python programs better. The book has beautiful coloring and pages, making it look like the Python IDLE. Despite being less than 300 pages, this book packs tons of information into its contents and the writing was excellent.

Python – Web Programming

4) Flask Web Development – Miguel Grinberg

Flask Web Development

Miguel Grinberg wrote the first, and the best tutorial on Flask. Grinberg also wrote an amazing online Flask tutorial and keeps a regularly updated blog on Flask. His book elegantly guides you through setting up a website and how to deploy it. I used his tutorial to build my first website in Flask and found his book incredibly valuable.

5) Two Scoops Of Django – Daniel Greenfeld, Audrey Greenfeld

Two Scoops Of Django

Daniel and Audrey are a couple who specializes in Django web programming. Their book is a complete list of best practices covering Django 1.8. An ice cream store analogy is used throughout the book to describe concepts. This surprisingly quirky concept made the book a joy to read and I gained a much better understanding of web programming by reading this book.

Python – Data Science

6) Python Machine Learning – Sebastian Raschka

Sebastian Raschka created an amazing machine learning tutorial which combines theory with practice. The book explains machine learning from a theoretical perspective and has tons of coded examples to show how you would actually use the machine learning technique. It can be read by a beginner or advanced programmer.

7) Data Visualization with Python and Javascript – Kyran Dale

Data Visualization

Released in July 2016, Kyran Dale provides an great tutorial for data visualization. The book uses the example of Nobel Prize winners to build a beautiful website using the Flask framework. A large part of the book explains how to get and clean the data, store it in the backend, and use D3.js to make colorful visuals for the front end. Do not be scared of Javascript in the title, the author provides clear explanations about the Python and Javascript parts. If you’ve ever wanted to visualize your data, this is the book for you.

Final Thoughts

How accurate is my list of must read Python books? Is there another book I should have included? Leave me a comment below!


Reprinted from http://williampross.com/7-must-read-python-books/ by bloggers @Lx

7 Must Read Python Books的更多相关文章

  1. Python.Books

    Flask 1. Flask Web Development Miguel Grinberg April 2014 2. Flask Framework Cookbook Shalabh Aggarw ...

  2. Python 爬虫6——Scrapy的安装和使用

    前面我们简述了使用Python自带的urllib和urllib2库完成的一下爬取网页数据的操作,但其实能完成的功能都很简单,假如要进行复制的数据匹配和高效的操作,可以引入第三方的框架,例如Scrapy ...

  3. Python爬虫Scrapy框架入门(1)

    也许是很少接触python的原因,我觉得是Scrapy框架和以往Java框架很不一样:它真的是个框架. 从表层来看,与Java框架引入jar包.配置xml或.property文件不同,Scrapy的模 ...

  4. python爬虫框架scrapy实例详解

    生成项目scrapy提供一个工具来生成项目,生成的项目中预置了一些文件,用户需要在这些文件中添加自己的代码.打开命令行,执行:scrapy st... 生成项目 scrapy提供一个工具来生成项目,生 ...

  5. python爬虫学习记录

    爬虫基础 urllib,urllib2,re都是python自带的模块 urllib,urllib2区别是urllib2可以接受一个Request类的实例来设置url请求的headers,即可以模拟浏 ...

  6. 无开发经验,初学python

    1.无开发经验,初学python   如果你不会其他语言,python是你的第一门语言: A Byte of Python (简明python教程,这个有中文版简明 Python 教程)是非常好的入门 ...

  7. python之scrapy入门教程

    看这篇文章的人,我假设你们都已经学会了python(派森),然后下面的知识都是python的扩展(框架). 在这篇入门教程中,我们假定你已经安装了Scrapy.如果你还没有安装,那么请参考安装指南. ...

  8. python 各模块

    01 关于本书 02 代码约定 03 关于例子 04 如何联系我们 1 核心模块 11 介绍 111 内建函数和异常 112 操作系统接口模块 113 类型支持模块 114 正则表达式 115 语言支 ...

  9. python scrapy 基础

    scrapy是用python写的一个库,使用它可以方便的抓取网页. 主页地址http://scrapy.org/ 文档 http://doc.scrapy.org/en/latest/index.ht ...

随机推荐

  1. Fragment基础----创建

    1,Fragment的目的及应用场景 fragment 是3.0后引入的类,其字面翻译为“碎片”. 目的是将activity划分成许多单元再进行组合,可以根据不同分辨率屏幕,在不同状态下,灵活创建优化 ...

  2. Cache-Aside Pattern(缓存模式)

    Load data on demand into a cache from a data store. This pattern can improve performance and also he ...

  3. MathType应用:批量改变公式格式

    首先要安装好mathtype,一般装好后mathtype会嵌入到word里去(黄色和粉红的部分是今天的主角) 然后可以用带insert开头的选项(黄色部分)添加公式,但是添加公式后可能出现一下情况,即 ...

  4. Django 1.10 中文文档------3.2.2 查询操作making queries

    3.2.2 查询操作 6.15章节包含所有模型相关的API解释. 后面的内容基于如下的一个博客应用模型: from django.db import models class Blog(models. ...

  5. [开源ORM] SqliteSugar 3.x .net Core版本成功上线

    SqliteSqlSugar 3.X API 作为支持.NET CORE 为数不多的ORM之一,除了具有优越的性能外,还拥有强大的功能,不只是满足你的增,删,查和改.实质上拥有更多你想像不到的功能,当 ...

  6. 关于SQL储存过程中输出多行数据

    declare @num1 int           --为符合条件的总行数 select @num1=COUNT(1) from cardInfo where openDate between @ ...

  7. C#图片加水印实例与代码

    本文要提供的类可以为图片加文字水印,以及判断是否是图片文件.经过测试可运行,例子请下载:http://hovertree.com/h/bjaf/5qc5eh6y.htm 例子效果图: 以下是Hover ...

  8. authentication与网站安全验证

    1.Forms 身份验证提供程序 通过 Forms 身份验证,可以使用所创建的登录窗体验证用户的用户名和密码.未经过身份验证的请求被重定向到登录页,用户在该页上提供凭据和提交窗体.如果应用程序对请求进 ...

  9. JQuery的ajax

    JQuery-AJAX: jQuery load() 方法是简单但强大的 AJAX 方法. $(selector).load(URL,data,callback);(这三个参数可以随意设置几个) @ ...

  10. php 实现设计模式之 享元模式

    <?php class Book{ public $title; public $author; public function __construct($title,$author){ $th ...