Denis S. Otkidach wrote:Certainly, it can be done more efficient:
Yes, of course. I should have thought about the logic of my code before posting. But I didn't want to spend any more time on it than I had to. ;-)
Bah, you satanic types are so lazy. -- http://mail.python.org/mailman/listinfo/python-list