Try free for 30 days

1 credit a month to use on any title, yours to keep (you’ll use your first credit on this title).
Stream or download thousands of included titles.
Access to exclusive deals and discounts.
$16.45 a month after 30 day trial. Cancel anytime.
Guide to: Functional Python and Comprehension Constructs cover art

Guide to: Functional Python and Comprehension Constructs

By: Matt Harrison
Narrated by: John Edmondson
Try for $0.00

$16.45 per month after 30 days. Cancel anytime.

Buy Now for $9.68

Buy Now for $9.68

Pay using voucher balance (if applicable) then card ending in
By confirming your purchase, you agree to Audible's Conditions Of Use and Privacy Notice and authorise Audible to charge your designated credit card or another available credit card on file.

Publisher's Summary

Functional Programming and Comprehensions

Functional programming is a somewhat hidden aspect of Python. Though it supports many of the functional constructs, the style is not widely adopted. On the flip side, functional programming appears to be making a resurgence because of the benefits it can provide.

Comprehensions are an alternative Pythonic construct for programming in a similar manner. These are features of Python that are commonly used instead of their functional counterparts. This book covers:

  • List comprehensions
  • Generator expressions
  • Set comprehensions
  • Dict comprehensions

Write Python code like the masters

These constructs, while not necessary per se, allow you to be more succinct, reuse code, and think about code in a different way. You will learn:

  • How the constructs work
  • When to use them
  • Real-life examples from the standard library
  • To understand other' 'code

This book covers many of these intermediate constructs that are available in Python. The book covers both Python 2 and 3. Topics include:

  • Functional programming
  • List comprehensions
  • Generator expressions
  • Set and dict comprehensions
©2013 Matt Harrison (P)2015 Matt Harrison

What listeners say about Guide to: Functional Python and Comprehension Constructs

Average Customer Ratings

Reviews - Please select the tabs below to change the source of reviews.

In the spirit of reconciliation, Audible acknowledges the Traditional Custodians of country throughout Australia and their connections to land, sea and community. We pay our respect to their elders past and present and extend that respect to all Aboriginal and Torres Strait Islander peoples today.