tags:

views:

631

answers:

6

Can somebody recommend a good python learning book, along the lines of "Learning Python", but a little more "quick", (more concise). Although I like "Learning" series from O'Reilly, with Python they've really taken their time. Preferably something up to 300-400 pages ?

I'd be grateful for all your advices.

A: 

Dive Into Python is fairly concise - and available for free, online. My printed copy ends on page 400 (including appendices but excluding the index).

Jon Skeet
+2  A: 

You could try "Python in a Nutshell" by Alex Martelli. All books in the series have a quick introduction to the language (the rest of the book is an API reference). I like the "in a Nutshell" series a lot because it works for someone who already knows some other programming language and has very little time to read -- but YMMV...

Jay
+5  A: 

Have you looked at the official python tutorial http://docs.python.org/tutorial/? It starts quick enough and covers most of the basics. That's how I started learning Python.

Nadia Alramli
+1; Guido's tutorial is very concise and quite good; it's how I learned too.
sheepsimulator
+8  A: 

There are quite a few good books online. These have a broad scope, similar to O'Reilly's "Learning Python":

Python.org maintains two lists of for learning python, depending on your level of programming expertise:

I highly recommend "Python Essential Reference" by David Beazley. You might find this sufficient if you're an experienced programmer and want a concise and comprehensive overview of the language. If you're a novice programmer this probably won't provide enough hand-holding. While I learned Python from other books, this is—by far—the most useful python book I own. Some notes:

  • This is a reference book not a tutorial
  • If you're an experienced programmer, this should be enough to learn the language
  • If you're a novice programmer, start with a different tutorial
  • The first 125 pages are a complete overview of the language. It's not a tutorial, but it covers the language from top to bottom
  • The rest of the book is a comprehensive and extremely useful reference
  • The 3rd edition covers up to python 2.4, but not beyond.
  • The 4th edition is due for release in July 2009
Karl Fast
Good answer, could you post it on http://stackoverflow.com/questions/34570/what-is-the-best-quick-read-python-book-out-there should this question be closed..?
dbr
Done: answer posted.
Karl Fast
Does the 4th edition cover python 3 or 2.6?
Dave Berk
A: 

First, if the usual searches have come up with answers you can't use, put that in the question up front. Otherwise, at best you'll get all the answers you can't use all over again. (At worst your question will be closed so fast nobody will notice it.) I'd suggest editing the question.

Second, your comment says that "Dive Into Python" starts with material too advanced for you. This suggests that a more verbose introduction might be good for you.

Third, the book you want simply may not exist. You have rejected the two main recommendations, one as too verbose and one as too advanced. There may be a niche for something in between "Dive Into Python" and "Learning Python", but there may not be a book there, or all the books there may be bad. You are very likely asking for a book that simply doesn't exist, since you have problems with the usual recommendations.

David Thornley
A: 

Python Visual Quickstart Guide

See my answer here

mtruesdell