Valone, Toren W. wrote: > Traceback (most recent call last): > File "C:/Python24/dialog1.py", line 29, in -toplevel- > d = MyDialog(root) > NameError: name 'MyDialog' is not defined Suggestion: Read the place in your code where MyDialog is defined and compare it with where it is used. Check case. You'll find the problem :) -- Timo Virkkala