See this thread http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/989b957f244d48e0/429378d911ba4357?hl=en#429378d911ba4357 Peter