Is there any method to run Tk program without dos window?

Gerhard Häring gh_pythonlist at gmx.de
Sat Dec 15 00:09:30 EST 2001


Le 15/12/01 à 12:24, Kick écrivit:
> I use Active Python in windows, every time I double click to run a tk
> program, it will bring a dos window. How can I make this hidden?

Just rename the Python script to .pyw instead of .py.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))




More information about the Python-list mailing list