Jupyter Notebook的“贪婪完成器"配置 [英] Jupyter notebook 'greedy completer' configuration

查看:62
本文介绍了Jupyter Notebook的“贪婪完成器"配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Jupyter iPython笔记本,我具有以下魔术"命令:

I have the following 'magic' command for Jupyter iPython notebook:

%config IPCompleter.greedy=True

但是,我不知道在哪里可以将配置文件默认放置在每个新打开的笔记本电脑上.

However I don't know where I could put in in a configuration file to have it by default on each newly opened notebook.

应该去 .jupyter/jupyter_notebook_config.py 吗?

推荐答案

这是IPython配置,因此应放在〜/.ipython/profile_default/ipython_config.py 中.

This is IPython configuration, so it should go in ~/.ipython/profile_default/ipython_config.py.

Jupyter配置仅影响提供UI的前端应用程序(例如笔记本服务器,qtconsole等),而不影响可能具有自己的配置机制的内核(IPython,IJulia等).

Jupyter configuration only affects frontend applications providing UI (e.g. notebook server, qtconsole, etc.), not the kernels (IPython, IJulia, etc.) which may have their own configuration mechanism.

这篇关于Jupyter Notebook的“贪婪完成器"配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆