How to create an iterator in Python using a class

Publié le: 17 avril 2020
sur la chaîne: HazimedTech
180
8

This video shows how to create our own iterator using class, we create a class of objects that behave as iterators.
I've choosen an example of a class of objects, which generate ip addresses whenever the objects are called using the next() function.
Iterators in Python - Introduction:    • Iterators in Python - Introduction  


Sur cette page du site, vous pouvez voir la vidéo en ligne How to create an iterator in Python using a class durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur HazimedTech 17 avril 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 180 fois et il a aimé 8 téléspectateurs. Bon visionnage!