Can You Recommend a Python Textbook?

Hello, code-minded folk.

Is there a resource for learning Python that you would recommend? While you’re at it, is there an interpreter whose merits you would like to champion?

Thanks,
Stu

And now for something Completely Different–Common Core Math!
NO ONE expected the Spanish inquisition… in 1478
reads OP never mind!

I am currently teaching myself Python.

I hope the following doesn’t violate any code about pitching, but this is what I’m doing.

After messing around with some online tutorials a bit, I bit the bullet and bought:

“Python Crash Course” by Eric Matthes- list price is $40.

It has a simple clear discussion of the principles and uses of various commands. It poses various exercises for the reader. It seems didactically sound.

At more than 500 pages (i’m about a quarter into it), it’s not a superficial “crash course” (well maybe by computer science standards it may be).

I’m programming on my iPad using Pythonista. IIRC it is spendy for an app, about $10, especially when you can download Python for free onto just about any computer. Another drawback is that Pythonista is Python 2.7 and the world (and my textbook) have moved onto Python3. Still, it is super-convenient, I don’t regret the decision.

Start with the Codeacademy course on Python. It’s free.

Thanks, BBB and Rigamarole.

The book I use for my Introduction to Programming class is Python Programming: An Introduction to Computer Science by John Zelle. There’s some discussion in the Amazon comments and in stackoverflow about his use of the eval() function, but I understand why he used it for the book. I like that it goes into some substantial math and discussion of algorithms. My students ranked the book highly.

Learning Python by O’Reilly is good. Really it’s such a self-explanatory language, any text will be good. I commend you on your choice.

I’ve been using Automate the Boring Stuff which is freely available online. I’ve finished the first section on some of the basic stuff and have just begun to move on to the more advanced sections. Coursera and EdX both have online python classes that you can start whenever you’d like. There are quite a few online books, tutorials, and videos, so if whichever one you start with doesn’t seem to work for you, Google around and find something new.

What is your programming background? What is your most recent language environment and how many years? What about other languages? How knowledgeable are you about object-oriented programming?

I used Learning Python from the O’reilly series since I like that style. It’s not the best if you’re a newbie programmer. Those books are geared towards programmers who want to want to learn a new language vs someone who is learning it as their first language.

I’ve studied C++, but never used it in a work environment. OOP is not my strong point, I’m afraid.

I tried several books, but that O’Reilly title, Learning Python by Mark Lutz, is the one that clicked for me, and I had relatively little previous programming experience. Be forewarned that the same author has another book with a similar title in the O’Reilly line (Programming Python) that is more advanced and much less useful in my experience.

I also found the free two-part MOOC offered by MITx to be very instructive. There is a required text that was developed specifically for that course that would be a pretty good (and low cost) stand-alone introduction to the language even if you don’t take the MOOC: Introduction to Computation and Programming Using Python by John V. Guttag.

If you are interested in taking a course, there is one starting on Coursera soon.