---------- Forwarded message ----------
From: Parthan SR <parth.technofr...@gmail.com>
Date: Fri, Jan 9, 2009 at 12:03 PM
Subject: Re: [BangPypers] Executing WxPython script in Windows without
the command window
To: "Amit k. Saha" <amitsaha...@gmail.com>


Amit k. Saha wrote:
>
> Cool. 'pyw' extension helps Windoze to use the 'pythonw.exe' instead
> of 'python.exe' which suppresses the command window

Just to add to this point - when creating an exe for the above using
py2exe, in your setup.py script please use something like

windows = [
{
"script": "script.pyw"
}
],

If, in the above piece of code, you use "console" instead of
"windows", then even when you have pointed .pyw file you will still
happen to see a console window when you execute the exe.

--
---
With Regards,

Parthan "technofreak"
<gpg>  2FF01026
<blog> http://blog.technofreak.in




-- 
Amit Kumar Saha
http://amitksaha.blogspot.com
http://amitsaha.in.googlepages.com/
Skype: amitkumarsaha
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to