Can't get Tkinter to run from command line

Steven Sartorius ssartor at bellatlantic.net
Sat Dec 16 16:58:23 EST 2000


In article <91gg43$7vi$1 at animus.fel.iae.nl>, "Carel Fellinger"
<cfelling at iae.nl> wrote:

> 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()
> 
> 

It's always the obvious.......!!

Thanks,

Steve



More information about the Python-list mailing list