Help running pythonw from a command prompt with arguments
Date: 3 Mar 2004 07:18:50 -0800
Can I run pythonw with a script that takes command line arguments then
launches a GUI? I try pythonw myscript.pyw -option arg (etc.) and
nothing happens. Nothing, as in I am immediately returned to the DOS
I just started learning Python a couple of weeks ago, so please bear
with me. I have a script that(for now) uses command line arguments
then launches a window (Tk). Once I have entered the arguments and
the window is launched I do not want the window to be dependent on the
DOS window. I understand that pythonw gets around this, however I am
not having much luck. Thanks in advance for your help, Eric
- Re: Same Window: ShellExecuteEx and Wait
... > I am writing a command line utility that launches other command line ... > output from the child process is lost when the window is closed. ...
- Same Window: ShellExecuteEx and Wait
... I am writing a command line utility that launches other command line ... WaitForSingleObject the program creates a new window and all the ...
- Re: Sending messages to other windows
... an application receives window messages directed only toward its ... between two applications, one of which launches the other. ... The first application launches the second application using a command ...
- Re: Help running pythonw from a command prompt with arguments
... CREATE stdio window vs "pythonw" suppressing that window. ... Since you already have a console window the use of "pythonw" is ... "pythonw" would suppress the window expecting the program to ...
- Re: PyQt on MAC OS X
... > thanks that did the trick!!! ... > One problem is my Window created in Qt appears underneath all others on ... > the screen and focus never goes completely onto this window. ... So launch the script with pythonw instead of python;-) ...