Programming From The Very Basics Using Python - Session 31 - Generators revisited

Описание к видео Programming From The Very Basics Using Python - Session 31 - Generators revisited

In this video, I will guide you through another example for using generators for implementing multitasking in your python code. You will also learn about the limitations of a generator when you try to implement multitasking with blocking events (sleep in this case) and how co-routines are used for true multitasking on event-based tasks that block most of the time.

Code samples and notebooks used in the videos / demonstration are available at https://github.com/slashprog/programm...

Комментарии

Информация по комментариям в разработке