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 笔记本中运行一些单元格。我在单元格的头部使用了 %%debug 命令。现在,当我在 ipdb 提示符下按 ctrl+space 或 tab 时,自动完成似乎无法正常工作。
如何使用自动完成?
安装pyreadline:
pip install pyreadline
打开 jupyter notebook 并在一个单元格中运行以下命令:
%config IPCompleter.greedy=True
每当您想进行自动完成时,只需按 TAB。
为我工作!