Books


I bought Matt Harrison’s book, Guide To: Learning Python Decorators this week to see if I could finally understand what the big deal was about decorators. I’ve decided to try reviewing this book using Doug Hellman’s method of doing a Quick Review and then a more formal in depth review for those of you hardy enough to want to read more.

Quick Review

  • Why I picked it up: Because I wanted to learn about decorators and I also wanted to see how this book compared with Harrison’s other books.
  • Why I finished it: Simply put, the book was short and I could read it in between other tasks I was doing. Also, some of Harrison’s insights about functions were really interesting.
  • I’d give it to: An intermediate to advanced Python developer that needed to do meta-programming or had to understand functions and function generators

(more…)

Last month around the time of PyCon USA 2012, Matt Harrison sent me a copy of his newest book, Guide to: Learning Iteration and Generators in Python. I’ve been wanting to learn more about generators anyway, so I thought this was pretty fortuitous. Sadly, it took me a month to get around to reading it. The eBook weighs in at 460 kb for the mobi (i.e. Kindle) version or 240 for the epub. We’ll take a quick look at the good and the bad after the jump. (more…)

This is an unorthodox review of Numpy 1.5 Beginner’s Guide by Ivan Idris. I have to say two things right off before we get into the review:

  • This book was given to me in ebook and physical form directly from Packt Publishing
  • I actually don’t think I have enough math to review this

On that second one, I took college Calculus, but this book talks about terms I either don’t remember or they just weren’t covered. I had Statistics I and II as well, but the author deals more with matrix manipulation and linear algebra. I think my old Finance and Accounting classes helped the most, but that was at the end of the book. (more…)

This week, I discovered a new book on Python titled Treading on Python Vol. 1 by Matt Harrison. The book is only in draft form, so it’s still pretty rough, but the author was kind enough to send me a free copy in epub and mobi formats. I read part of it using EPUBReader, an add-on to Firefox so I could read it in my browser. Then I switched to the PC Kindle software to finish the book.

The book is your typical introductory text to Python. I felt like it was a tad shorter than some of the intro books I’ve read though, but that may be because it was an eBook. He covers what you would expect, but here’s a short list of topics:

  • Installation of Python
  • The Interpreter
  • Numbers and Strings
  • dir and help (introspection, although he never uses that word)
  • comments
  • Sequences (lists, tuples and dicts)
  • Functions, Classes, and Methods
  • File I/O
  • Exceptions – very brief, doesn’t show how to make your own

He uses a few odd terms that I’ve never heard, like calling the double-underscore methods of Python “dunder methods” (like __init__ or __seq__). The only name I’ve ever heard for those are “magic methods”. He also says the following: It is common to hear in Python parlance of “truthy” or “falsey” (Kindle location 700) regarding bools and bool-like objects. I’ve read a lot of books on Python and never come across that before either. It’s no big deal, they just kind of jumped out at me and left me scratching my head.

Anyway, I can’t be too hard on it because it’s still only a draft. I did notice that some of the first sections in the book seem to get repeated later on. I’m not sure if that was intentional or not. Maybe it was a way of emphasizing the material. Regardless, the information in the book is pretty good for someone who is just coming to the language. I should mention that it’s more of an overview book though. Every topic has only 1-4 pages of information on it on average, so this book will give you enough information to get going, but you’ll still need to read the docs if you hit a wall. For example, he mentions comprehensions, but never says what they are. You don’t need those when you program, but they sure can be nice. On the other hand, he does talk about the “with” statement quite a bit.

Overall, I would say this is a pretty good introductory text on Python. The reader will get a nice overview of the language without the confusion of 3rd party packages or even very much of the included modules. They get a little introduction to Python introspection tools, which is pretty nice. When the book is finished, this is one you may want to keep in mind for your budding Pythonista. You can actually purchase the book from his website now for $4.99 and I think you get the final version when it’s done, kind of like Manning’s Early Access Program (MEAP).

Recently, I was linked to the Python Forum because one of my friends on the wxPython IRC channel said that Packt was trying to find reviewers for their new book, Numpy 1.5 Beginner’s Guide by Ivan Idris. I doubt they’re going to find many people on that website though. I’ve certainly never heard of it. Anyway, Packt was kind enough to give me a copy of it as an ebook, so I’ll be reading it over the next couple of weeks so I can review it for this website. (more…)

It’s almost the end of January already and PyCon USA 2011 is just around the corner. In this edition, we cover a wide variety of topics, from Python 2.7 – 3.x. We’ve got sprints, new books, web-related projects and good old recursion articles. Come one, come all! Read the news of the week!

On the PyCon front, you should take note the Early Bird pricing is now over. Why did you wait? Fortunately, they are still selling tickets, so stop stalling and just come! The PyCon blog also mentions that they’re still looking for sponsors, so if you or someone you know has that kind of cashola, point them in that direction.

And now we return you back to your regularly scheduled blog reading…

Back in 2006, Manning released the excellent wxPython in Action book by Noel Rappin and Robin Dunn (creator of wxPython). This is still a great book and I wholeheartedly recommend it to people that want to increase their understanding of wxPython. However, Packt Publishing has just released the first new wxPython book in over four years. It’s called wxPython 2.8 Application Development Cookbook by Cody Precord (creator of Editra). There’s an ebook version of each of these books at their respective publisher’s websites.

I plan to review Precord’s book once I’ve finished reading it. He’s been pretty active on the wxPython mailing list, helping people (including me) learn the ins and outs of wxPython. If you like wx as much as I do, I hope you’ll support him and the wxPython community by buying the book. Packt gives part of the purchase price of the book back to the project that it’s about, which is pretty cool. They’re also having a Python book sale on the Packt website (hat tip to Robin Dunn on that one).

MySQL for Python

By Albert Lukaszewski

Amazon

Packt

(more…)

Packt Publishing gave me an ebook copy of their brand new book, MySQL for Python by Albert Lukaszewski. I’ll be working on reading through that this month and will hopefully have a review for all of you to read before December. They also gave me this link to a free chapter. Feel free to read it or skip it.

Python Multimedia Application Beginner’s Guide

By Ninad Sathaye

Amazon

Packt

(more…)

« Previous PageNext Page »