在我的白色背景的 python shell 中,它看起来像这样:
如您所见,当出现错误时,它是白色背景上的白色文本。为了看到它们,我必须突出显示文本。我没有运气找到控制这些颜色的脸。有人有什么想法吗?
谢谢
在我的白色背景的 python shell 中,它看起来像这样:
如您所见,当出现错误时,它是白色背景上的白色文本。为了看到它们,我必须突出显示文本。我没有运气找到控制这些颜色的脸。有人有什么想法吗?
谢谢
里面有~\.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