Industrial-Sized Deals TextBTS15 Shop Women's Handbags Learn more nav_sap_SWP_6M_fly_beacon Deradoorian $5 Off Fire TV Stick Subscribe & Save Shop Popular Services gotS5 gotS5 gotS5  Amazon Echo Starting at $99 Kindle Voyage Metal Gear Solid 5 Shop Back to School with Amazon Back to School with Amazon Outdoor Recreation Learn more
Kindle Price: $9.97

Save $10.00 (50%)

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

Deliver to your Kindle or other device

Deliver to your Kindle or other device

Flip to back Flip to front
Audible Narration Playing... Paused   You are listening to a sample of the Audible narration for this Kindle book.
Learn more

Treading on Python Series: Intermediate Python Programming: Learn Decorators, Generators, Functional Programming and More Kindle Edition

19 customer reviews

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle
"Please retry"
$9.97

Length: 162 pages Matchbook Price: $0.99 What's this?
For thousands of qualifying books, your past, present, and future print-edition purchases now lets you buy the Kindle edition for $2.99 or less. (Textbooks available for $9.99 or less.)
  • Thousands of books are eligible, including current and former best sellers.
  • Look for the Kindle MatchBook icon on print and Kindle book detail pages of qualifying books. You can also see more Kindle MatchBook titles here or look up all of your Kindle MatchBook titles here.
  • Read the Kindle edition on any Kindle device or with a free Kindle Reading App.
  • Print edition must be purchased new and sold by Amazon.com.
  • Gifting of the Kindle edition at the Kindle MatchBook price is not available.
Learn more about Kindle MatchBook.

Kindle Daily Deals
Kindle Delivers: Daily Deals
Subscribe to find out about each day's Kindle Daily Deals for adults and young readers. Learn more (U.S. customers only)

Complete Series

Editorial Reviews

Review

I thought it was intriguing and ended up learning some new tricks that I hope to implement in my own code soon.
...
You'll almost certainly pick up something new just in the first section. If you don't know much about generators, iterators or decorators in Python, then this book will help you figure it out and hopefully give you ideas of how you could use them in your code. I know I learned a few things (and probably re-learned a few others!).
- Mike Driscoll - blog.pythonlibrary.org/

About the Author

About Matt Harrison 
Matt Harrison has over a dozen years of Python experience across the domains of search, build management and testing, business intelligence and storage. He has presented and taught tutorials at conferences such as Strata, SCALE, PyCON and OSCON as well as local user conferences. The structure and content of this book is based off of first hand experience teaching Python to many individuals.

He blogs at hairysun.com and occasionally tweets useful Python related information at @__mharrison__.

Product Details

  • File Size: 787 KB
  • Print Length: 162 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: hairysun; 1 edition (November 24, 2013)
  • Publication Date: November 24, 2013
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B00BT95CWM
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Lending: Enabled
  • Enhanced Typesetting: Not Enabled
  • Amazon Best Sellers Rank: #110,409 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Matt Harrison has over 10 years Python experience across the domains of search, build management and testing, business intelligence and storage.

He has presented and taught tutorials at conferences such as SCALE, PyCON and OSCON as well as local user groups. In addition he has been a private tutor teaching programming to teenagers as well as retired folk. The structure of his books are based off of his first hand experience teaching Python to many individuals.

Customer Reviews

5 star
89%
4 star
0%
3 star
11%
2 star
0%
1 star
0%
See all 19 customer reviews
Share your thoughts with other customers

Most Helpful Customer Reviews

13 of 13 people found the following review helpful By Mike Driscoll on April 3, 2013
Format: Kindle Edition
Matt Harrison's latest book is his best yet. I found the writing to be almost error free with only a smattering of typos here and there, mostly in the 2nd half of the book. The book is split up into 3 sections (not including the Introduction). Harrison doesn't spend time introducing us to Python; instead he assumes you already know it and dives off into the deep end with functional constructs. Thus begins the first section in which he covers lambda, map, reduce, filter, recursion, list, set and dict comprehensions, and finally, the operator module. He used a lot of the topics that followed the lambda to illustrate advanced uses of the lambda construct. I thought it was intriguing and ended up learning some new tricks that I hope to implement in my own code soon.

The 2nd section is devoted to Iteration and Generators. In it, you will learn the difference between iterables and iterators, how to construct a normal generator and an object generator and the author also gives tips about when to use a generator versus a list. He also shows some real life examples of generators and iterators in the Python core. He does this a little in the first section as well.

The 3rd section is all about Functions, Closures and Decorators with a heavy emphasis on the latter. I think this section is a shorter, updated version of his "Guide to: Learning Python Decorators" book actually, as some of the examples looked kind of familiar. Regardless, it was very illuminating. I will admit that the "Alternate Decorator Implementations" section at the end of the book was rather confusing though.

In the end, I think this book is well worth the cost of owning it. You'll almost certainly pick up something new just in the first section.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
9 of 10 people found the following review helpful By Daniel Roy Greenfeld on November 25, 2013
Format: Kindle Edition
I first met Matt Harrison years ago when he gave a great tutorial on decorators and functions at the Southern California Linux Exposition. In less than an hour he managed to get a packed room understanding and writing their own decorators. I took copious notes, and wished there was a book he wrote that I could reference.

Fortunately, this is that book. ;-)

Matt starts with the functional built-ins of Python such as lambda, filter, map, reduce, adds in recursion, then tops it off with list, set, and dict comprehensions. It's great stuff and he explains it well.

The next part of the book delves into iteration and generators. If you know anything about Python's functional capabilities, you know this builds pretty much right off the first part. For me, I found this made the book feel like it built upon itself in a clever, conceptual sort of way.

Finally, the last part is a really nice piece on decorators, which means functions and more functions!

All in all I really liked this book and learned from it. If you have at least a basic understanding of Python and are interested in the language, you owe it to yourself to get this book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Paperback Verified Purchase
In the end, I have learned a lot from the Treading series but, it came with much more work and took more time than I expected for a book of this size. As someone new to many of the concepts of Python, the Treading series often left me needing to fill in the gaps from other resources. My guess is that this would be a great series for a programmer fluent in Java or C++ but, if your background is in more basic scripting languages such as JavaScript, you may want a different book. On the positive side, I felt the order of the chapters and the topic choices were great for getting started.

Finally, once you do get through some basic Python learning, I would highly recommend Python 3 Object Oriented Programming. It was very clear and a great read. Good luck on your journey!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By tri2sing on August 28, 2015
Format: Kindle Edition Verified Purchase
The book essentially covers three topics: functional programming, iterators and generators, closures and decorators. The choice of topics itself clearly targets a specific audience.
This is not for a beginner as the title suggests. Having said that, if you a have some experience with Python, this book hits the sweet spot between being clear and concise.
This is one of the rare programming books I have read that does not have a single wasted word. Part of it has to do with its laser focus on three topics.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Kindle Edition Verified Purchase
If you want to gain a deeper understanding of Python and how it relates to basic ideas in computer science, I cannot recommend this book enough. The author has an uncanny ability to provide deep yet simple explanations, and to make them crystal clear with pedagogically brilliant examples. The only exception is the large chapter on "alternative decorators", which needs a lot of work.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Kindle Edition Verified Purchase
I very much enjoyed this book. It was well written and clearly explained the subject matter. I have a much better understanding of decorators & generators now and I will be returning to this book for refreshers on these topics in the future. My preference is to have a project of some sort to work on to incorporate the various topics, but the material is well explained in this title.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 2 people found the following review helpful By rajan S. on November 16, 2013
Format: Paperback Verified Purchase
excellent...i ahve a background in c++, vba(is this a programming language? jk...) and java.....didn't want to be bothered with reading another 1000 page book on python..this book got me upto speed in no time...highly recommended for someone with background in programming looking ot move into python
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in