askstring Window to the top under Windows

iwl Ingo.Wolf at gmx.de
Tue Mar 6 10:18:06 EST 2007


On 6 Mrz., 14:48, "Tim Golden" <tjgol... at gmail.com> wrote:
> On Mar 6, 1:13 pm, "iwl" <Ingo.W... at gmx.de> wrote:
>
> It's not clear whether you're talking about the usual
> "Why do I get a DOS window when I run my python script?"
> question -- to which the answer is, in essence, change
> your script's extension to .pyw or use the pythonw.exe
> executable -- or "Why _when I use askstring_ do I get
> an empty window?". If it's the latter, then I don't
> know, but can you provide a small example script which
> exhibits the behaviour.
>
> TJG

>>> import tkSimpleDialog
>>> tkSimpleDialog.askstring("a","b")

at the python Console under XP (not pythonw).

-> instead of only showing the Inputwindow at the top,
some additional empty window is shown, both not on top.




More information about the Python-list mailing list