Switch to the store?

Iterators in Functional Programming with Python [Video]

More Information
  • Understand what an iterator is in Python
  • Learn the important role that iterators play in Functional Programming
  • Iterators and iterator functions built into Python
  • Create your own iterators
  • Understand what a generator coroutine is
  • Master list and dict comprehensions and generator expressions

Functional programming is a style of programming that is characterized by short functions and little reliance on variables. You will learn what functional programming is, and how you can apply functional programming in Python.

In this volume, you will learn everything there is to know about iterators in Python and how crucial they are in functional programming, where they are used, among other things, to implement repetitive logic and coroutines. You will learn about all standard iterators and iterator functions that Python offers. You will also learn to implement your own iterators. Functional programming makes heavy use of iterators, and we will learn how you can use them in functional programming through an interactive calculator application. All videos in the course contains simple, hands-on examples to give you a firm grasp on the subject.

At the end of this course, you apply the techniques that you’ve learned in this course in the real world with a final example (an interactive calculator application) but this time based on a sensible mix of programming techniques, including (but not limited to) functional programming.

Style and Approach

This is a hands-on course where each video starts with a useful introduction, followed by short, practical examples; some topics contain more elaborate examples to demonstrate how all the concepts learned so far can be applied in a realistic project.

  • Expand your knowledge of Python by delving into iterators
  • Use the power of iterators and functional programming to solve real-world problems in Python
  • Apply the techniques learnt in various practical examples throughout the course
Course Length 3 hours 02 minutes
ISBN 9781788474535
Date Of Publication 28 Nov 2017
Using a List – Mutable Sequences of Elements with a Fixed Order
Using a Tuple – Immutable Sequences of Elements with a Fixed Order
Using a Dict – Mutable, Key-value Mappings Without a Fixed Order
Using a Set – Immutable Collections of Unique Elements Without a Fixed Order
Unpacking Iterators by Assigning to Multiple Variables
Creating Your Own Iterator
Exploring Generators
Lazy Evaluation
Coroutines –Implementing Concurrency through Generators
Convenience Iterators – The Collections Module


Sebastiaan Mathôt

Sebastiaan Mathôt currently works as assistant professor at the University of Groningen in the Netherlands. He is the lead developer at OpenSesame, which is an open-source, Python-based program for implementing psychology and neuroscience experiments. Sebastiaan is also the designer of DataMatrix, a Python library for numeric computing that is focused on elegance and readability.

Sebastiaan also gives regular workshops on using OpenSesame and Python for scientific purposes, and regularly publishes Python tutorials on his YouTube channel. As such, he has extensive experience in teaching Python and making advanced topics seem as easy as possible.

Homepage: http://www.cogsci.nl/smathot

YouTube: http://youtube.com/sebastiaanmathot