Help running pythonw from a command prompt with arguments

Eric Ching bingopajama at hotmail.com
Wed Mar 3 16:18:50 CET 2004


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
prompt.

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



More information about the Python-list mailing list