IPython: How to wipe IPython's history selectively & securely?

后端 未结 6 1243
北海茫月
北海茫月 2020-12-29 02:52

I have been learning how to use the paramiko package only to discover that all I stored passwords in plain text in IPython\'s %hist. Not so good.

6条回答
  •  臣服心动
    2020-12-29 03:12

    I couldn't find the way to wipe IPython's history selectively, but I found out how to wipe data by built-in func, non-sqlite way:

    %clear out #it clears output history

    by the way, you can also clear in history by %clear in

提交回复
热议问题