gpt4 book ai didi

python - 更改 Jupyter QtConsole 设置

转载 作者:IT老高 更新时间:2023-10-28 22:15:33 25 4
gpt4 key购买 nike

是否可以对 Windows 7 上的默认设置进行永久性更改?我想更改字体大小和外壳大小。

最佳答案

有关配置 ipython 命令行应用程序的说明是 here在 IPython 的网站上。特别是配置字体大小的分步说明:

首先,创建 IPython 配置文件。只需运行 IPython 或 IPython 的 QtConsole 即可为您完成此操作,但如果您必须手动操作,请运行

ipython profile create

其次,创建一个 IPython 配置文件:

  • Windows - %USERPROFILE%\.ipython\profile_default\ipython_config.py
  • Linux 或 OS X - ~/.ipython/profile_default/ipython_config.py

IPython 内容示例:

c = get_config()

c.IPythonWidget.font_size = 11
c.IPythonWidget.font_family = 'Consolas'

ipython.org 上有更详细的示例配置文件.

关于python - 更改 Jupyter QtConsole 设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9906938/

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