Advertisement

Python中查找历史命令的快捷方式

阅读量:

1、python中查看历史命令的方法:%history%hist

在这里插入图片描述
在这里插入图片描述

2、输出带有序号的历史命令:%history -n%hist -n

在这里插入图片描述

3、模糊匹配历史命令:%history -g%hist -g

在这里插入图片描述

4、查看history的使用帮助:%history?

![在这里插入图

全部评论 (0)

还没有任何评论哟~