André: > A more complete example is now available at > http://code.activestate.com/recipes/576538/ Nice. >The idea for this recipe was mentioned on the Python mailing list as something desirable and apparently done by someone< That someone has a nickname you can use, I am known in the cookbook too :-) Bye, bearophile