GALFTHW Style Tutorial On Python Coroutines

An excellent tutorial explaining yield expression and coroutines with examples like data processing pipelines and cooperative multitasking1. I loved it for the following reasons:

  • It is written well and examples are clean and to the point. I’ve just read the slides and I have a much better understanding about coroutines now.
  • It aims to give a better understanding about the subject. But doesn’t just Hello World the examples, all code included is practical and useful. (Death to Fibonacci! LOL)
  • Author explains thing from a wide perspective, including counter-arguments and possible bottlenecks and necessary warnings…

All in all I really enjoyed this tutorial. Highly recommended.


1: Multitasking possibly within a single thread/process.

Bookmark and Share

Related posts:

  1. Drawing Gradients with PyGame
  2. My PyCon APAC 2011 Presentation: Optimizing Media Performance with django_compressor
  3. Working with files in Django – Part 1
  4. Working with files in Django – Part 2

Tags: , , , , ,

Comments are closed.