Home>Article>Backend Development> How to set the background color in python
I have been writing code all day recently, and my eyes are quite tired. Because after the general Python IDE is installed, it defaults to white, which is very dazzling and makes your eyes go blind after looking at it for a whole day.
What should we do? For this reason, I changed the theme color, because the IDE is all in English, which is really troublesome for people who are not good at English. I personally suggest that even if your English is not good, you still need to be familiar with the English instructions for the basic operations in the software. . If you don’t know how, just look it up in a dictionary. You’ll naturally become familiar with it after using it a lot. Commonly used IDE background setting methods are given below. You can take a look if you need it.
I have chosen the dark theme here. You can try to set it up according to your preference.
Jupyter notebook
First install jupyter-themes using pip under the cmd console
jt -l # JT -T OneDork sets the OneDork theme (OneDork theme name)
JT ─R to restore the default theme
##Q ##》 SpyderStart Spyder, then Tools->Preferences->Syntaxcoloring->SpyderDark
Note: I have Chineseized it before , so the display is in Chinese, but the buttons are still the same.
##PycharmStart Pycharm, then File—>Settings—>Editor >Color Scheme, and then select yourself on the right Just choose the theme you like. Here I chose the dark theme.
Eclipse
Start Eclipse, Window > Preferences > General > Appearance, r and then you can choose what you like on the right Theme, here I also choose the dark theme.
As for other more settings, you can discover and experience them yourself.
The above is the detailed content of How to set the background color in python. For more information, please follow other related articles on the PHP Chinese website!