禁用 IPython 历史记录 history.sqlite
在IPython的默认配置文件夹(Windows为%UserProfile%\.ipython\profile_default\、Linux为~/.ipython/profile_default/)中,新建ipython_config.json文件,填入以下内容即可禁用IPython历史记录(history.sqlite)。
{
"HistoryManager": {
"enabled": false
}
}
IPython - Configuration and customization - Terminal options - HistoryManager.enabled

浙公网安备 33010602011771号