Agile Tortoise
Greg Pierce’s blog
« Darn that Seth Dillingham NPR Search Engine Series »
Python on Windows without prompt window
This seems like it should be a no brainer, but I can’t seem to figure out how to execute a python script on Windows without a command prompt window getting opened. It exits as soon as the script is done, but I don’t really want it to show at all. Anyone know how to do this? It seems like it should be a command line flag for the python interpreter, but I can’t figure out what it is.
April 13th, 2004 at 9:22 am
On Apr 12, 2004, at 10:04 AM, Greg Pierce wrote:
> This seems like it should be a no brainer, but I can’t seem to figure
> out how to execute a python script on Windows without a command prompt
> window getting opened. It exits as soon as the script is done, but I
> don’t really want it to show at all. Anyone know how to do this? It
> seems like it should be a command line flag for the python
> interpreter, but I can’t figure out what it is.
I haven’t tried this, but maybe calling pythonw.exe instead of
python.exe would help?
Jim
April 13th, 2004 at 9:48 am
On Apr 13, 2004, at 10:22 AM, Jim Roepcke wrote:
> I haven’t tried this, but maybe calling pythonw.exe instead of
> python.exe would help?
we have a winner!
thx. figured it was something easy.
g.