[Tkinter-discuss] Re: Bug in tkFileDialog askdirectory method?

Martin Franklin mfranklin1 at gatwick.westerngeco.slb.com
Thu Jan 20 16:25:54 CET 2005


On Wed, 19 Jan 2005 13:55:55 -0700, Stewart Midwinter  
<stewart.midwinter at gmail.com> wrote:

> Try this: in the __main__ function, add a call to the askdirectory
> method in tkFileDialog and then run it.  Does it do the same for you
> as it does for me, i.e. disappear into la-la land?
>
> # dialog for selecting directories
>     getdirectory=askdirectory()
>     print "directory", getdirectory.encode(enc)
>

Stewart,

Python 2.4 (Win2k) the file dialog pops up and I select a directory
then the script fails ('cause I don't know what to use as your enc
variable;-)  but the dialog does popup! is this getting further than you?

Martin.



More information about the Tkinter-discuss mailing list