Can't get Tkinter to run from command line

Carel Fellinger cfelling at iae.nl
Sat Dec 16 20:34:27 CET 2000


Steven Sartorius <ssartor at bellatlantic.net> wrote:

you allmost got it, it's just that main is spelled differently:)

> if __name__ == 'main': gui().mainloop()

try:

  if __name__ == '__main__': gui().mainloop()

-- 
groetjes, carel



More information about the Python-list mailing list