tags:

views:

97

answers:

5

Are there any python books that are suited to someone who doesn't know programming already ? I am looking for something which doesn't have any perquisites (except maybe basic maths :). I have looked at dive into python, and it looks like a very good book, but much of it seems to assume you already know programming concepts (functions, etc.) and this is a present for someone who hasn't coded before (but has expressed an interest in learning). In an ideal world, it would work through concepts step by step giving examples in python, then moving onto python specific things.

Thank you for your help.

A: 

I'm not sure Python is the best "first language" out there. Its extra flexibility in typing makes it, IMHO, quite difficult to understand errors. The official tutorials or books for other languages are also gentler than what I have seen for Python. For instance, Java tutorials offer a very good introduction to programming, and so does "Learning Perl".

That being said, if you have the ability to grasp ideas from code examples, the official python tutorials are actually pretty good. They start with the basic concepts, and provide examples. Give them a shot before you hit the bookshelves.

Uri
Mini question-in-question: What would you consider the best language/book pair to be, for someone who has never coded before? I always thought that Python was much simpler than C (which I have used) or Java (which I have never used).
Tom H
+1  A: 

Maybe this helps you: How to Think Like a Computer Scientist

Felix Kling
+1  A: 

Practical Programming: An Introduction to Computer Science Using Python is a pretty good introductory programming book.

Bill the Lizard
+1  A: 

How to think like a (Python) programmer is a free introduction to programming from a mostly Python perspective. It was aimed at beginners.

Mark Byers
+3  A: 

I would suggest this one:

Hello World! Computer Programming for Kids and Other Beginners
Warren D. Sande and Carter Sande

Though the concepts and ideas presented apply to any programming language, Hello World! uses the easy to learn Python programming language. Python is free, and is available for different platforms, including Windows, Linux, and Mac. Hello World! covers all the basic concepts of computer programming, including memory, looping, decisions, input and output, data structures, graphics, and many more. It then applies them to fun, interesting topics like computer graphics, game programming, and simulations.

Have a look to the table of contents.

systempuntoout
I don't think that there's one "Right Answer" for this kind of question, but this is the one I went with...
Tom H