Improved the idle.py example.

It now becomes clear what to do with the output of select(), and how
to call that function properly.