Christian Gollwitzer wrote:
> Am 28.11.15 um 13:48 schrieb Ulli Horlacher:
> > Christian Gollwitzer wrote:
> >> Many problems would simply go away if you wrote the whole thing as a GUI
> >> program.
> >
> > Too much hassle.
> > The predecessor was a Perl/Tk program and I have had to invest 90% o
Ulli Horlacher wrote:
> One of my Windows test users reports, that the file dialog window of
> askopenfilename() starts behind the console window and has no focus.
I have got a followup: this happens only with Windows XP, not with Windows
7. Therefore I will ignore this problem :-)
--
Ullrich
Maybe Wei Li Jiang's hack will work for you?
http://stackoverflow.com/questions/3375227/how-to-give-tkinter-file-dialog-focus
But then see if it works under MacOS. I fear it will not.
Laura
--
https://mail.python.org/mailman/listinfo/python-list
Am 28.11.15 um 13:48 schrieb Ulli Horlacher:
Christian Gollwitzer wrote:
Many problems would simply go away if you wrote the whole thing as a GUI
program.
Too much hassle.
The predecessor was a Perl/Tk program and I have had to invest 90% of the
programming work into the GUI handling. No fun
Christian Gollwitzer wrote:
> Am 28.11.15 um 11:29 schrieb Ulli Horlacher:
> > One of my Windows test users reports, that the file dialog window of
> > askopenfilename() starts behind the console window and has no focus.
> > On Linux (XFCE) I do not have this problem.
> >
> > I start it with:
> >
Am 28.11.15 um 11:29 schrieb Ulli Horlacher:
One of my Windows test users reports, that the file dialog window of
askopenfilename() starts behind the console window and has no focus.
On Linux (XFCE) I do not have this problem.
I start it with:
Tk().withdraw()
file = askopenfilename(title=
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
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