[英]Control ipython history length
The title pretty much says what I want. 标题几乎说出我想要的东西。
I want to have more than 1000 lines of input in my ipython-history; 我希望在ipython历史中有超过1000行输入; which means that pressing arrow-up commands older are showing up.
这意味着显示较旧的向上箭头命令。 Is this possible?
这可能吗? (probably somewhere in ipython-config()?)
(可能在ipython-config()的某个地方?)
Thanks 谢谢
In http://2sn.org/python/ipython_config.py there is a 在http://2sn.org/python/ipython_config.py中有一个
# c.TerminalInteractiveShell.history_length = 10000
Does it work? 它有用吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.