On 3/12/2011 7:11 PM, R. David Murray wrote:
R. David Murray <rdmurray@bitdance.com> added the comment:

I've opened issue 11479 with a proposed patch to the tutorial along the lines suggested by Graham.

Which is good, for people that use the tutorial.  I jump straight to the reference guide, usually, because of so many years of experience with other languages.  But I was surprised you used .strip() instead of [:-1] which is shorter and I would expect it to be more efficient also.