diff -r c30a3a6f3b39 Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Thu Jan 30 16:05:28 2014 -0800 +++ b/Lib/idlelib/PyShell.py Thu Jan 30 23:10:44 2014 -0500 @@ -16,7 +16,7 @@ import linecache from code import InteractiveInterpreter -from platform import python_version +from platform import python_version, system try: from tkinter import * @@ -1529,6 +1529,10 @@ enable_shell = enable_shell or not enable_edit # start editor and/or shell windows: root = Tk(className="Idle") + # set application icon + if system() == 'Windows': + iconfile = os.path.join(os.path.dirname(__file__), 'Icons', 'idle.ico') + root.wm_iconbitmap(default=iconfile) fixwordbreaks(root) root.withdraw()