Sorry, I did my best. You said you wanted runnable code, and without the full Tk stuff it might not have been. After all, I didn't know where the problem was. As for the double spaces, not sure where they came from, probably by copying a file from Windows to Linux. I appreciate the help and will try to do better next time.