Home>Article>Backend Development> How to set the background color in python

How to set the background color in python

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼 Original
2019-08-02 14:45:03 30428browse

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 ##》

How to set the background color in python

Spyder

Start 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.

##Pycharm

Start 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.How to set the background color in python

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.How to set the background color in python

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn