Iterables & Generators

Python 3
  • 11 Videos | 1h 34m 28s
  • Includes Assessment
  • Earns a Badge
Likes 15 Likes 15
Iterations are nuanced in Python, so you must fully understand how they work in order to produce quality software. Learn about comprehensions, a powerful, concise syntax for creating iterable objects, as well as iteration and iterables.

WHAT YOU WILL LEARN

  • describe the function of iter(), next(), and StopIteration() in Python iteration
    use the map() function in an iteration in Python
    use the filter() function in an iteration in Python
    use functools.reduce() to iterate over an iterable
    implement a custom iterable class in Python
    implement an iterable using consecutive integer indexing in Python
  • implement an iterable using the extended iter() function
    create a simple generator in Python
    create a lazy generator in Python and understand its characteristics
    create a recursive generator in Python
    create an iterable data type that handles exceptions in Python

IN THIS COURSE

  • Playable
    1. 
    Basic Iteration
    8m 39s
    UP NEXT
  • Playable
    2. 
    The map() Function
    8m 28s
  • Locked
    3. 
    The filter() Function
    7m 34s
  • Locked
    4. 
    The functools.reduce() Function
    9m 18s
  • Locked
    5. 
    Implementing an Iterator
    8m 56s
  • Locked
    6. 
    Implement an Iterable Using __getItem__
    6m 23s
  • Locked
    7. 
    Implement an Iterable Using Extended iter()
    5m 34s
  • Locked
    8. 
    Simple Generators
    6m 46s
  • Locked
    9. 
    Lazy Generators
    11m 9s
  • Locked
    10. 
    Recursive Generators
    7m 49s
  • Locked
    11. 
    Exercise: Creating an Iterable Data Type
    8m 54s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 121 Likes 121  
Likes 1 Likes 1  

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 365 Likes 365  
Likes 139 Likes 139