在ipythonqtconsole的交互式sh中获取当前配置信息

2024-06-11 16:10:50 发布

您现在位置:Python中文网/ 问答频道 /正文

我见过how to change the configuration of ipython临时或永久使用命令行参数或修改{}。在

我的问题是,如何像ipython_qtconsole_config.py那样获得当前配置:

c = get_config()
c.IPythonWidget.font_family = 'Consolas'

我可以import IPython,但不知道该怎么办。。。在


Tags: oftheto命令行pyconfig参数get