Apologies for the wird formatting, looks like the news reader
got confused by Pythons chevrons and thought it was a thread!
Hopefully spacing will fix it...

"Alan Gauld" <[EMAIL PROTECTED]> wrote

>>> import Tkinter as tk

>>> import tkFileDialog as fd

>>> t = >>>> tk.Tk()

>>> t.withdraw()  # hides the Tk root window''

>>> d = fd.askdirectory() # display the dir dialog

>>> print  d
D:/Development

>>> dir(fd)
['Dialog', 'Directory', 'Open', 'SaveAs', '_Dialog', '__builtins__',
'__doc__','__file__',  '__name__', 'askdirectory', 'askopenfile',
'askopenfilename',  'askoenfilenames', 'askopenfiles', 
'asksaveasfile',
 'asksaveasfilename']



_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to