How to clear variables in ipython?

前端 未结 7 2320
逝去的感伤
逝去的感伤 2020-12-02 04:56

Sometimes I rerun a script within the same ipython session and I get bad surprises when variables haven\'t been cleared. How do I clear all variables? And is it possible to

7条回答
  •  Happy的楠姐
    2020-12-02 05:25

    Apart from the methods mentioned earlier. You can also use the command del to remove multiple variables

    del variable1,variable2
    

提交回复
热议问题