0

白い背景を持つ私の python シェルでは、次のようになります。

白い背景に白いテキスト

ご覧のとおり、エラーがある場合は、白い背景に白いテキストです。それらを見るには、テキストを強調表示する必要があります。どの顔がそれらの色を制御しているかを見つけることができませんでした。誰でも何か考えがありますか?

ありがとう

4

1 に答える 1

1

このセクションが~\.ipython\ipythonrcあります (上部から約 1/4 離れています)

# colors - Coloring option for prompts and traceback printouts.

# Currently available schemes: NoColor, Linux, LightBG.

# This option allows coloring the prompts and traceback printouts. This
# requires a terminal which can properly handle color escape sequences. If you
# are having problems with this, use the NoColor scheme (uses no color escapes
# at all).

# The Linux option works well in linux console type environments: dark
# background with light fonts.

# LightBG is similar to Linux but swaps dark/light colors to be more readable
# in light background terminals.

# keep uncommented only the one you want:
colors Linux
#colors LightBG
#colors NoColor
于 2011-04-13T01:58:23.940 に答える