Re: Tkinter button not working as expected

2006-09-24 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > Thank you Fredrik. It makes total sense now that you've explained it > this way. I frustrated at my ignorance on the assignment issue :) well, it's one of those "you'll only do this once" mistakes that *everyone* does (mutable default arguments and unexpected integer

Re: Tkinter button not working as expected

2006-09-22 Thread vagrantbrad
Thank you Fredrik. It makes total sense now that you've explained it this way. I frustrated at my ignorance on the assignment issue :) Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > > I've created a short test program that uses tkFileDialog.askdirectory > > to help the user input a path

Re: Tkinter button not working as expected

2006-09-22 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I've created a short test program that uses tkFileDialog.askdirectory > to help the user input a path into a tk entry widget. The problem I'm > having is that when I run the code as listed below, the getPath > function is called when the program initially runs, not when

Re: Tkinter button not working as expected

2006-09-21 Thread James Stroud
[EMAIL PROTECTED] wrote: > I've created a short test program that uses tkFileDialog.askdirectory > to help the user input a path into a tk entry widget. The problem I'm > having is that when I run the code as listed below, the getPath > function is called when the program initially runs, not when

Re: Tkinter button not working as expected

2006-09-21 Thread bearophileHUGS
[EMAIL PROTECTED] wrote: > I've created a short test program that uses tkFileDialog.askdirectory > to help the user input a path into a tk entry widget. The problem I'm > having is that when I run the code as listed below, the getPath > function is called when the program initially runs, not when