The reason sys.path[0] is in there is because other wise if during development you run the program from a different directory, it will look for the icon in the current working director, rather than from the directory where the program is actually located.
The reason sys.path[0] is in there is because other wise if during development you run the program from a different directory, it will look for the icon in the current working director, rather than from the directory where the program is actually located.
And your probably right about the hardcoded path.