Re: tkFileDialog.askopenfilename()

2007-05-17 Thread rahulnag22
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

Re: tkFileDialog.askopenfilename()

2007-05-16 Thread martin . laloux
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

RE: tkFileDialog.askopenfilename()

2007-05-16 Thread Hamilton, William
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

tkFileDialog.askopenfilename()

2007-05-15 Thread rahulnag22
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

Re: {Possible_Spam} tkFileDialog.askopenfilename()

2007-05-15 Thread John McMonagle
[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

Re: tkFileDialog.askopenfilename()

2007-05-15 Thread Kevin Walzer
[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

tkFileDialog.askopenfilename filetypes problem

2005-07-13 Thread Justin Straube
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,

Re: tkFileDialog.askopenfilename filetypes problem

2005-07-13 Thread Eugene Druker
For me this: z = tkFileDialog.askopenfilename(title='Title', filetypes=[ ('AIFF Files','*.aiff'), (TXT Files, *.txt