I use quick-and-dirty code like this:

############################################################################
# Get source directory and text file
############################################################################
Root = Tkinter.Tk()
Root.title(programname)
srcdir = tkFileDialog.askdirectory(title='Choose the source directory',
initialdir='C:\\')
srcfile = tkFileDialog.askopenfilename(title='Choose the text file',
initialdir=srcdir)
Root.destroy()



- Robert


<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What's the easiest way for a script to throw up simple dialogs such as
> file select and alerts?
>
> I thought there was something in the standard library that didn't need
> TK and was cross-platform but I can't seem to get my Google-fu working
> well enough to find it.
>


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to