Thread: Icons.

    #1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    UK
    Posts
    367
    Rep Power
    11

    Question Icons.


    OK I finally got turning python's to .exe down, so now im wonderin : Can i use my own custom I con for my.exe s? I use installer to compile the .py to a .exe.
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Use the --icon file option when setting up your spec file i.e.

    python Makespec.py --onefile --icon path/to/icon.ico path\to\program.py

    Mark.
    programming language development: www.netytan.com Hula

  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    UK
    Posts
    367
    Rep Power
    11
    Well surprise surprise i hav a problem.
    I add the icon part and it compiles into a .spec, but wen i make it a .exe there still the same old butterfly icon
  6. #4
  7. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    cant get it to work either, even though its correct by the docs... maybe its just broken. Or it could have something to do with the windows version

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo