DEV Community

0 seconds of 54 minutes, 52 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
54:52
 
Cheuk Ting Ho 🐍
Cheuk Ting Ho 🐍

Posted on

3

Python Zero to Hero - Ep.15 - Python generators

Moving from iterators late week, we have introduced generators (or generator functions). Which lets you create iterators just like writing a function, with yield. It also got a "send" method which lets you pass information from one iterator to another, setting the stage for async in Python. If you have any questions or any suggestions about which Python topics to cover, please leave your comment at my Twitch channel

You can get the slide deck here and the example code and homework form GitHub here. Ask questions at my Twitch channel

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay