"Steven Sartorius" wrote: > if __name__ == 'main': gui().mainloop() > > This code runs fine from within python itself but I get no window if I > run it from the command line (i.e. python application.py). > I'm sure I'm doing something obviously wrong but what??? if __name__ == '__main__': gui().mainloop() </F>