IDLEThemes
Well , let's accept the fact that the default theme for Python IDLE is boring . So, to spice up that , i have brought to you the best collection of themes which you can integrate with the Python IDLE
Installation
- After downloading and extracting all the contents of the zip , open the
config-highlight.def
file in notepad and copy all its content - Now go to
(Drive in Which Python Folder is)\Python\Lib\idlelib
. - Now you will find a file called
config-highlight.def
there . Open it in a notepad and replace all its content with the code you copied earlier . - Now save the file (PLEASE CLOSE ANY OPEN DEFAULT IDLES)
- Now open the IDLE and on the top there should be a tab present .
- On that tab click on
Options
and thenConfigure IDLE
. - A window called Settings should pop up . Now , on the top of that window , there is a tab called
Highlights
. - Once you click on it , to your right , you should see a dropdown box .
- Click on it to see all the new installed themes
- After you have chosen your desired theme , click on
Apply
and voila , the new theme should be working
Themes currently Available
Themes | Themes | Themes |
---|---|---|
![]() Atom One Dark |
![]() Default Dark |
![]() Pycharm Dracula theme |
![]() Default Light |
![]() Obsidian Theme |
![]() Sublime Text Theme |
![]() VSCode Theme |
Change Default theme
- To change Default theme , go to
C:/Users/[User Name]/.idlerc
(Example Path :C:\Users\admin\.idlerc
) - Over there , you will find a file called
config-main.cfg
. Open it with notepad . - Upon Opening it , change
name2 = .....
withname 2 = [Theme you want as Default]
(Example :name2 = VS Code Theme
) - Please note that the theme should have already been installed via the steps given in Installation