Peter Waller: > Is there any better way to attach code? This is a widely used place (but read the "contract"/disclaimer first): http://code.activestate.com/recipes/langs/python/ Bye, bearophile