On May 16, 6:21 am, Hamilton, William [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED]
Hi,
When I call tkFileDialog.askopenfilename() , the dialog box opens with
the current directory as the default directory. Is it possible to open
the dialog box with a directory other than the
look at Basic Tkinter dialogs from python cookbook at
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/438123
--
http://mail.python.org/mailman/listinfo/python-list
From: [EMAIL PROTECTED]
Hi,
When I call tkFileDialog.askopenfilename() , the dialog box opens with
the current directory as the default directory. Is it possible to open
the dialog box with a directory other than the current directory. Can
we pass in a user defined starting directory.
[EMAIL PROTECTED] wrote:
Hi,
When I call tkFileDialog.askopenfilename() , the dialog box opens with
the current directory as the default directory. Is it possible to open
the dialog box with a directory other than the current directory. Can
we pass in a user defined starting directory.
For me this:
z = tkFileDialog.askopenfilename(title='Title',
filetypes=[
('AIFF Files','*.aiff'),
(TXT Files, *.txt),
],