最近 ipython 开始表现得很奇怪。我现在用的是8.20版本。如果我按向上箭头,它不会给我最新的一行,而是给我很久以前的东西。
我怎样才能解决这个问题?
我在 ubuntu 20.04 上。
这是一个文字记录:
Python 3.8.10 (default, Mar 15 2022, 12:22:08)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.2.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: x=2
In [2]: %history
x=2
%history
In [3]: random.choices(range(2), weights=probs)
Run Code Online (Sandbox Code Playgroud)
[3] 行来自按向上箭头。
| 归档时间: |
|
| 查看次数: |
903 次 |
| 最近记录: |