Python 3, an Illustrated Tour Transcripts
Chapter: Asynchronous Programming
Lecture: Concurrency Example
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Here's an example of concurrency. Here I've got Python running over here and Python is going to paint three pictures.
0:08
And so I'm going to just do some work and after I've done a little bit work on one picture, I'm going to do some work on another one
0:16
and then I'll do some work on another one and I'll keep doing that shifting between them until I'm finally done at some point.
0:23
This is concurrency, I'm juggling multiple paintings with a single CPU or a single Python process.