In python, "global" doesn't mean what you think it means. It means global to the current module. The only way to make a binding global over an entire program is to stick it in the __builtin__ module. However, there is probably a better design for your program that doesn't need so many global variables. Alex.