[Tutor] Tkinter the great
Danny Yoo
dyoo at hkn.eecs.berkeley.edu
Sun Aug 15 09:22:51 CEST 2004
On Sat, 14 Aug 2004, Ali Polatel wrote:
> Friends I wrote a programme with Tkinter...
> I have converted it into an exe file with py2exe
> Now when I run it still there is a dos box behind it :(
> How can i get rid of it?
Hi Ali,
Ah, this one is easy to fix: rename your program from '.py' to '.pyw'. In
Windows, a '.pyw' Python program won't request a console, so that should
do the trick.
Alternatively, pass the '-w' option to py2exe. Try:
python setup.py py2exe --help
for a complete list of extra options for py2exe.
Good luck to you!
More information about the Tutor
mailing list