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
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
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.
Thanks
Rahul
--
http
[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
[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
Hopefully someone can catch what im missing here. Ive googled this and I think
Ive got the filetypes arg written properly, but I get a traceback when calling
this function.
Heres the code followed by its traceback.
def do_ask_fn_1():
z = askopenfilename(title=TITLE, initialdir=Dst_Dir,
For me this:
z = tkFileDialog.askopenfilename(title='Title',
filetypes=[
('AIFF Files','*.aiff'),
(TXT Files, *.txt