tkFileDialog.askopenfilename()

Hamilton, William whamil1 at entergy.com
Wed May 16 08:21:44 EDT 2007


> From: rahulnag22 at yahoo.com
> 
> 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
> 

This link has a decent amount of info about the various dialog modules.
http://www.pythonware.com/library/tkinter/introduction/x1164-data-entry.htm


---
-Bill Hamilton



More information about the Python-list mailing list