Iterators in Functional Programming with Python [Video]

Preview in Mapt

Iterators in Functional Programming with Python [Video]

Sebastiaan Mathôt

Get a thorough understanding of iterators (a crucial part of every Python programmer’s toolbox) to solve many real-world problems more efficiently.

Quick links: > What will you learn?> Table of content

Video
$5.00
RRP $124.99
Save 95%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$5.00
RRP $124.99

Frequently bought together


Iterators in Functional Programming with Python [Video] Book Cover
Iterators in Functional Programming with Python [Video]
$ 124.99
$ 5.00
Natural Language Processing with Python [Video] Book Cover
Natural Language Processing with Python [Video]
$ 124.99
$ 5.00
Buy 2 for $10.00
Save $239.98
Add to Cart

Video Details

ISBN 139781788474535
Course Length3 hours 02 minutes

Video Description

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.

Table of Contents

Built-in Iterators
The Course Overview
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
Iterators and Generators
What Is an Iterator?
Creating Your Own Iterator
Exploring Generators
Lazy Evaluation
Coroutines –Implementing Concurrency through Generators
Convenience Iterators – The Collections Module
List and Dict Comprehensions, and Generator Expressions
List Comprehensions
Dict Comprehensions
Generator Expressions
Nested Comprehensions
Functions That Work with Iterators
Using Convenience Functions
Using Numerical and Logical Functions
The Itertools Module
The Functools Module
A Functional, Iterator-Based, Interactive Calculator
Functional Programming, Iterators, and Decorators in the Real World
Recognize the Most Suitable Programming Technique for the Job
Sensible Interactive Calculator Built with Various Programming Techniques

What You Will Learn

  • 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

Authors

Table of Contents

Built-in Iterators
The Course Overview
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
Iterators and Generators
What Is an Iterator?
Creating Your Own Iterator
Exploring Generators
Lazy Evaluation
Coroutines –Implementing Concurrency through Generators
Convenience Iterators – The Collections Module
List and Dict Comprehensions, and Generator Expressions
List Comprehensions
Dict Comprehensions
Generator Expressions
Nested Comprehensions
Functions That Work with Iterators
Using Convenience Functions
Using Numerical and Logical Functions
The Itertools Module
The Functools Module
A Functional, Iterator-Based, Interactive Calculator
Functional Programming, Iterators, and Decorators in the Real World
Recognize the Most Suitable Programming Technique for the Job
Sensible Interactive Calculator Built with Various Programming Techniques

Video Details

ISBN 139781788474535
Course Length3 hours 02 minutes
Read More

Read More Reviews

Recommended for You

Natural Language Processing with Python [Video] Book Cover
Natural Language Processing with Python [Video]
$ 124.99
$ 5.00
Artificial Intelligence with Python – Heuristic Search [Video] Book Cover
Artificial Intelligence with Python – Heuristic Search [Video]
$ 124.99
$ 5.00
Create Apps in MATLAB with App Designer (Codes Included) [Video] Book Cover
Create Apps in MATLAB with App Designer (Codes Included) [Video]
$ 24.99
$ 5.00
Artificial Intelligence with Python – Sequence Learning [Video] Book Cover
Artificial Intelligence with Python – Sequence Learning [Video]
$ 124.99
$ 5.00
Advanced Coding with Unreal Engine 4 [Video] Book Cover
Advanced Coding with Unreal Engine 4 [Video]
$ 124.99
$ 5.00
Getting Started with QlikView [Video] Book Cover
Getting Started with QlikView [Video]
$ 124.99
$ 5.00