gpt4 book ai didi

ipython - 如何使 iPython 5 中的颜色可读?

转载 作者:行者123 更新时间:2023-12-04 19:34:32 26 4
gpt4 key购买 nike

我刚刚升级到 iPython 5,并且在我的黑色终端背景下很难阅读所有颜色。有没有办法调整这些?

最佳答案

您可以为默认配置文件创建一个配置文件:

❯ ipython profile create default
[ProfileCreate] Generating default config file: '/Users/alex/.ipython/profile_default/ipython_config.py'

然后修改此文件以包含以下几行:
## Set the color scheme (NoColor, Neutral, Linux, or LightBG).
c.InteractiveShell.colors = 'linux'

您可以在此处阅读可用的配色方案: http://ipython.readthedocs.io/en/stable/config/details.html

关于ipython - 如何使 iPython 5 中的颜色可读?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41294938/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com