The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Python Programming
|
Changing The ICON w/ py2exe
Discuss Changing The ICON w/ py2exe in the Python Programming forum on Dev Shed. Changing The ICON w/ py2exe Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

June 13th, 2003, 03:42 AM
|
|
Junior Member
|
|
Join Date: Jun 2003
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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.
|

June 13th, 2003, 08:07 AM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
|
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.
|

June 13th, 2003, 01:28 PM
|
|
Junior Member
|
|
Join Date: Jun 2003
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
I got it to work with a little more messing around 
|

June 13th, 2003, 06:38 PM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
sweet, wana let me in on it? lol  glad you worked it out Longhair but do share
Take care,
Mark.
|

June 14th, 2003, 09:15 AM
|
|
Junior Member
|
|
Join Date: Jun 2003
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
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
|

June 14th, 2003, 10:26 AM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
|
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.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|