Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 ipython 中,我有ipython_config.py
ipython_config.py
当我对此文件进行更改时,如何重新加载 ipython ?(无需重启 ipython)
例如更改提示。
据我所知,您不能 - 当您启动 IPython 时会读取该文件。您可以在 IPython 运行时更改任何配置的值:
%config PromptManager.in_template = "\\#>>>"
不过,这不会存储在配置文件中。