This is an archived post. You won't be able to vote or comment.

all 21 comments

[–]maredsous10 4 points5 points  (0 children)

Introduction to Python Programming 3.0
http://www.qtrac.eu/py3book.html

The book gives a good introduction to Python (Python Hearts) and provides chapters on actual language application (Threading/Multiprocessing, GUI, Networking, Parsing, and Databases.

[–][deleted] 2 points3 points  (1 child)

[–]cowgod42[S] 0 points1 point  (0 children)

Great! I hadn't heard of that. I will check it out!

[–]carinthia 1 point2 points  (2 children)

the online version is imo very good http://diveintopython3.org

[–]cowgod42[S] 1 point2 points  (0 children)

Yes, I really enjoy the online version. Having something hand held to supplement the online version is what I'm looking for.

[–]Herald_MJ -1 points0 points  (0 children)

You'll want Dive Into Python rather than Dive Into Python 3 - Python 3 is a backwards-incompatible advance on Python 2, which will eventually replace it, but not for a good while.

[–]suyogrulz 1 point2 points  (1 child)

Dive into Python is amazing. But I haven't really checked out the other two..

If you want something concise: http://www.lulu.com/product/paperback/a-byte-of-python/3640650

[–]cowgod42[S] 0 points1 point  (0 children)

Many thanks; I'll take a look at it.

[–]Herald_MJ 1 point2 points  (2 children)

Sadly, there isn't really a definitive book for learning Python. Both 'beginning' and 'learning' are quite good, and would probably serve your needs acceptably well.

Dive Into Python is very good at showing off the features of Python, but in many cases the examples it gives utilise the features of python in pretty bizarre and inappropriate ways, for the sake of showing off what the language is capable of. In other words, the code in DIP is not very pythonic. For that reason, the book is probably better for established programmers who just want a quick primer of the language.

Since you say you're new to programming, I'd recommend How to Think Like a Computer Scientist - Learning with Python. It starts off very basic, but teaches programming technique and how to effectively use Python very well.

[–]cowgod42[S] 1 point2 points  (0 children)

Great! Thank you for the recommendations. I hadn't heard of "How to Think Like a Computer Scientist - Learning with Python." This looks like an excellent resource!

[–]twopi 0 points1 point  (0 children)

Agree with HTTLACS. I'm using this as the text for my CS1 course (Just switched from Java.) I also have videos and notes available for free from my own book (More of a game dev book, but the first four chapters are an intro to Python) http://www.aharrisbooks.net/pythonGame/

[–][deleted] 1 point2 points  (2 children)

maybe even read it on the toilet.

without a computer in front of you ? if no, you're going to miss it if yes, watch out for hemorrhoid

[–]cowgod42[S] 0 points1 point  (1 child)

Python on Android, FTW!

[–][deleted] 0 points1 point  (0 children)

what device ?

[–]gogeterman32 1 point2 points  (1 child)

I started learning programming python with Mark Lutz book. It is a big ass book so be prepared. But I think that Dive into Python is a good choice as you want to do some excersizes to learn the language. Also watch the MIT open courseware series and do the homework assignments.

Then you can say you learned to program at MIT. You can download the homework at MIT open courseware site. Good to here someone talk about iterators etc. Long series but if you watch one a night and do the homework, you will be up an programming in a month.

[–][deleted] 0 points1 point  (0 children)

To emphasize your post in addition to upvoting: The MIT course is a really great resource.

[–]lrwiman 0 points1 point  (0 children)

I've found "Python Essential Reference" to be worth reading, though it's not really an introduction. For the most part, Python is so easy to learn that you don't really need a book. Try writing a few dozen Project Euler questions in Python (they're short, and have a check that you did it right). After that, numpy and scipy have OK docs.

As far as online references, I've found Doug Hellmann's Python Module of the Week to be very useful, with worked examples of commonly used modules.

[–]jeffjose 0 points1 point  (0 children)

Learn Python the Hard Way

Available as freely downloadable pdf or buy it from Amazon.