是否可以对 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/