|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Changing The ICON w/ py2exe
I copied the py.ico into my test directory and then did the following:
C:\test>setup.py py2exe --icon py.ico -w It compiled the test no problem, but I am still left with the default icon ![]() I am using Win 2K3 if that makes a difference. |
|
#2
|
||||
|
||||
|
GUI
Hi again Longhair,
You may need to include the icon file in setup.py. I'm not sure what your doing but you can usually change the icon for GUI applications, maybe you can't change them for other apps? Anyway if I find out ill let you know, Take care, Mark. |
|
#3
|
|||
|
|||
|
I got it to work with a little more messing around
![]() |
|
#4
|
||||
|
||||
|
sweet, wana let me in on it? lol
glad you worked it out Longhair but do share ![]() Take care, Mark. |
|
#5
|
|||
|
|||
|
The only difference was I changed the name of the py.ico to something else and it worked
C:\test>setup.py py2exe --icon test.ico -w |
|
#6
|
||||
|
||||
|
Python default
Ah, strange, maybe because py.ico is registered to Python or because it's default is py.ico, it just didn't like it, ah well thanks for the info!
Have fun Longhair, Mark. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Changing The ICON w/ py2exe |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|