Re: askopenfilename() as root window

2007-12-18 Thread Sean DiZazzo
On Dec 18, 6:06 pm, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > On 18 dic, 22:43, Sean DiZazzo <[EMAIL PROTECTED]> wrote: > > > Is there any way to open a Tkinter.askopenfilename() without opening a > > root window alongside the file chooser? > > > I simply want a script to open a dialog and ret

Re: askopenfilename() as root window

2007-12-18 Thread Gabriel Genellina
On 18 dic, 22:43, Sean DiZazzo <[EMAIL PROTECTED]> wrote: > Is there any way to open a Tkinter.askopenfilename() without opening a > root window alongside the file chooser? > > I simply want a script to open a dialog and return the chosen file's > path to stdout. Yes, create the root yourself so

askopenfilename() as root window

2007-12-18 Thread Sean DiZazzo
Is there any way to open a Tkinter.askopenfilename() without opening a root window alongside the file chooser? I simply want a script to open a dialog and return the chosen file's path to stdout. """ from tkFileDialog import askopenfilename print askopenfilename() """ ...does the job, but it op