Re: Tkinter FileDialog

2011-05-22 Thread Godson Gera
Hi, You can try the following from Tkinter import* root = Tk() root.withdraw() #this will hide the main window import tkFileDialog as tkf f = tkf.Open().show() tkFileDialog, requires a main window to be existing before it can show the file dialog. If there are no main windows then it will create

Tkinter FileDialog

2011-05-22 Thread Alex van der Spek
Trying to bring up a simple File or Directory chooser using Tkinter. Right now I use pywin32 as Mark Hammond's extensions are somewhat more familiar to an (ex)VB programmer who started way back with Fortran. On Windows Vista with Python 2.7. The examples from Mark Lutz' book "Programming Pyth