Polish the interface of applications
wpmelcher at snet.net
Fri Dec 7 13:52:05 CET 2001
"Xiao-Qin Xia" <xx758 at cam.ac.uk> wrote in message
news:9uqdgq$j1a$1 at pegasus.csx.cam.ac.uk...
> Hi, everybody,
> When I run my applications based on Tkinter, there is always a TK icon at
> the left of the title line of the window (northerwest of window), is there
> any way to replace it with my own icon (.bmp, jpg or gif)?
I don't know about this -- I am new to Python and TK.....But
> The other thing is when the application (main.py) is running under windows
> XX, there is always a DOS window opened besides my application window. Is
> there any way to avoid displaying the DOS window?
Yes there is! Change the extension of the module you start your application
with from .py to .pyw. So in this case, just rename main.py to main.pyw and
you will no longer see the DOS window.
> Xiao-Qin Xia
More information about the Python-list