如何在不设置.ipython目录中的默认配置文件的情况下,通过jupyter_client.manager.start_new_kernel()
添加配置来启动内核?我想将shell颜色设置为NoColor'无需设置配置文件并初始化特定的格式化程序。
这相当于以下配置文件:
c = get_config()
c.InteractiveShell.colors = 'NoColor'
答案 0 :(得分:2)
这有效:manager.start_new_kernel(extra_arguments = [“ - colors ='NoColor'”])