new-b: Hide command window in wx?
Alex Martelli
aleaxit at yahoo.com
Fri Nov 10 14:40:15 EST 2000
<1_quest_man at my-deja.com> wrote in message
news:8uhd5i$b51$1 at nnrp1.deja.com...
> I am writting a little utility using wxPython. I can't seem to find a
> way to start the app without an adjacent command window. Even the demo
> has it, so I fear that it is not possible. Is this true. If so would
> it be possible to have the command window minimize itself while the
> main app window runs normal. (Ah! now you know I'm in Win shhh...:).
Just use pythonw.exe rather than python.exe to run your
script, and there will be no "command window". The
extension .pyw (rather than .py) should do that by default,
I think, if you start your app by double-click on icons &c.
Alex
More information about the Python-list
mailing list