[Tutor] Re: How can use Windows Exlporer's browse file method in a python script (Tkinter)?
Wed, 22 Aug 2001 20:58:43 -0400
"Proud Newbie" <email@example.com> wrote, in part:
> How can use Windows Exlporer's browse file method in a python script
> (Tkinter)? Say, I want to use Windows Exlporer's browse file method to
> let users browse and locate a file. How do I do that?
SAVEAS = 0
OPEN = 1
dlg = win32ui.CreateFileDialog( SAVEAS )
For a less rarified example, take a look at
C:\Python21\win32\scripts\regsetup.py or search your Python21
folder for 'CreateFileDialog'. Documentation is available by
searching the ActiveState doc on the same term.