Icon for Python code

Whenever I run my python code, the window do not have any icon..
How to change it some icon or the icon I want to assign?
I can assign a good icon for the exe generated thru py2exe.
I want to assign icon for the window opened after double clicking the code (*.pyw)
(I am using wxWidgets)
Thanks
Mahesh